-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error after B06 : Internal Exception: java.lang.IndexOutOfBoundsException #2362
Comments
Sorry provided info is not enough. Please add there at least entities which participates in query and query call with parameters. |
Entity <entity class="test.jakarta.data.web.House">
<table name="House"/>
<attributes>
<basic name="area">
<column nullable="false"/>
</basic>
<embedded name="garage">
<attribute-override name="area">
<column name="GARAGE_AREA"/>
</attribute-override>
<attribute-override name="type">
<column name="GARAGE_TYPE"/>
</attribute-override>
<attribute-override name="door.height">
<column name="GARAGE_DOOR_HEIGHT"/>
</attribute-override>
<attribute-override name="door.width">
<column name="GARAGE_DOOR_WIDTH"/>
</attribute-override>
</embedded>
<embedded name="kitchen">
<attribute-override name="length">
<column name="KITCHEN_LENGTH"/>
</attribute-override>
<attribute-override name="width">
<column name="KITCHEN_WIDTH"/>
</attribute-override>
</embedded>
<basic name="lotSize">
<column nullable="false"/>
</basic>
<basic name="numBedrooms">
<column nullable="false"/>
</basic>
<id name="parcelId">
</id>
<basic name="purchasePrice">
<column nullable="false"/>
</basic>
<basic name="sold">
</basic>
</attributes>
</entity> @rfelcman Please find the entity we used . |
Sorry, but I need Java sources too like |
@rfelcman This entity lacks annotations because the entity itself is defined in orm.xml mentioned above. |
This reproduction scenario is terrible, but I'll do my best to make it work. Please provide some small working project next time to avoid delays in bug fixes. |
Anyway, the model seems to be wrong. I made a small application myself using the ORM provided here and I'm getting the following exception:
Tried simplified query:
and it passes without any problem with latest EclipseLink master branch build. My test application is here: https://github.com/Tomas-Kraus/eclipselink-bug/tree/bug-2362-simple - you need to checkout |
@Tomas-Kraus Thanks for sharing this. We will check and confirm. |
@anija-anil Sorry, but provided code is not enough. I'm missing complete ORM.xml file instead of provided fragment see e.g. https://github.com/eclipse-ee4j/eclipselink/blob/master/jpa/eclipselink.jpa.testapps/jpa.test.advanced2/src/main/resources/META-INF/advanced-orm.xml . From provided fragments is not clear entity ID where is stored JPQL .....
|
Getting IndexOutOfBoundsException after upgrading to EclipseLink 5.0.0-B06
JPQL
Exception
The text was updated successfully, but these errors were encountered: