Issue Details (XML | Word | Printable)

Key: OPENJPA-155
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Srinivasa
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenJPA

java.lang.ArrayIndexOutOfBoundsException during commit

Created: 20/Feb/07 04:53 AM   Updated: 01/Mar/07 02:13 AM
Return to search
Component/s: jdbc
Affects Version/s: None
Fix Version/s: 0.9.7

Time Tracking:
Not Specified

Resolution Date: 20/Feb/07 09:01 AM


 Description  « Hide
After a RowImpl is created for persisting an Entity, when more mapping information is found corresponding to the same table the _table of the already created RowImpl gets modified, in the attached scenario causing the ArrayIndexOutOfBoundsException

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Srinivasa added a comment - 20/Feb/07 09:01 AM
Completed: At revision: 509473

Capturing reference to the Column[] at the creation time in the RowImpl instead of the Table, to work with DynamicSchemaFactory where the Table's columns can get modified after the creation of the RowImpl before the flush.