Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Store RDBMS

Schema Generation : exists a situation where we have subclass-table and it tries to initialise the PK of subclass twice

Created: 24/May/13 06:05 PM   Updated: 01/Jun/13 09:48 AM   Resolved: 24/May/13 06:05 PM
Component/s: Schema
Affects Version/s: 3.2.2
Fix Version/s: 3.2.3

 Description  « Hide
If we have something like
A : subclass-table
B extends A : subclass-table
C extends B : new-table
and we try to get the Table for C, it starts initialising C, then tries to sort out the PK, and attempts to get the table for B, which ends up trying to initialise the PK for C ... before it has completed the same i.e recursion. Need to detect that situation

Andy Jefferson added a comment - 24/May/13 06:05 PM
SVN trunk catches this

Andy Jefferson made changes - 24/May/13 06:05 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 01/Jun/13 09:48 AM
Status Resolved [ 5 ] Closed [ 6 ]