cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ORA Exception with Hybris 5.6

Former Member
0 Likes
226

ORA-01795 maximum number of expressions in a list is 1000 exception thrown when including B2B customer as a member of a B2B Unit.

Environment Hybris Commerce Suite 5.6.0 Oracle 11G

Reproducing the Issue 1. Create a B2B Unit in hMC / B2B Commerce / B2B Unit 2. Assign more than 1000 B2B Units as members (children) of the B2B Unit created on step 1 3. Include a B2B Customer as member (group) of the B2B Unit created on step 1 4. Log in store front with this B2B Customer. 5. As a result you are going to get Oracle exception ORA-01795: maximum number of expressions in a list is 1000

Accepted Solutions (0)

Answers (2)

Answers (2)

alex_alvarez1
Product and Topic Expert
Product and Topic Expert
0 Likes

This is actually an Oracle limitation, the initial issue should normally be resolved on currently supported Commerce versions.

VinayKumarS
Active Contributor
0 Likes

This is the limitation in hybris. you cannot update more than 1000 literals at a time. So you need to select or update them in batches.

former_member671076
Discoverer
0 Likes

I am getting the same error.

Can you please provide more input on this to handle this error using FlexibleSearch .

Thanks,

Nilesh