[ http://issues.datanucleus.org/browse/NUCRDBMS-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20383#action_20383 ]
Andy Jefferson commented on NUCRDBMS-617:
As is stated in the docs :-
The forum is for you to ask questions, and work out where problems are (with the help of whoever goes on there). "autostart mechanism" questions are all over that forum. As already said, it ought to be the first place that people go, not JIRA.
JIRA is to register demonstratable problems, where something is clearly different to what the JDO or JPA spec says (quoting references to spec sections as to why you think something is different). JIRA is *not* for support.
As for your testcase I don't have time to run every testcase that gets attached here, so you ought to do as the forum posting guide says and debug it with reference to the log etc. If some query returns an object then it utilises some SQL, and gets the object from L1 or L2 caches maybe.
> Subclasses are not loaded correctly
> Key: NUCRDBMS-617
> URL: http://issues.datanucleus.org/browse/NUCRDBMS-617
> Project: DataNucleus Store RDBMS
> Issue Type: Bug
> Components: Queries
> Affects Versions: 3.1.2
> Environment: ubuntu, mysql
> Reporter: Vito Impagliazzo
> Attachments: testcase.zip, testcase.zip
> I cannot load properly subclasses. Data is correctly stored in the datastore (mysql), however when querying data is either not found (in one method of the test case) or a field is set improperly to null.
> Class structure:
> A, A1(subclass of A)
> B, B1(subclass of B), B2(subclass of B)
> B has a reference to A (one (A) to many (B) relation)
> After creating the schema with Schema tool, the first run of the test case goes fine. At second and successive runs however, when data is already present in the database, it does not work. Method getWithSubclasses() fails to find any result. Method getSeparately() finds the result, but field "additional" of class A1 is set to null where it should be "ZZZ"
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.datanucleus.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira