Skip to content
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

Support that a Class reference itself with a Compound Identity that declare the self reference as part of the primary key #23

Open
andyjefferson opened this issue Apr 11, 2016 · 0 comments

Comments

@andyjefferson
Copy link
Member

The log of the test :
10:08:19,171 (main) DEBUG [DataNucleus.Datastore.Schema] - Column "pymodule.name" added to internal representation of table.
10:08:19,171 (main) DEBUG [DataNucleus.Datastore.Schema] - Field [metamicro.jet.core.persistency.modules.PyModule.name] -> Column(s) [pymodule.name] using mapping of type "org.datanucleus.store.mapped.mapping.StringMapping" (org.datanucleus.store.rdbms.mapping.VarCharRDBMSMapping)
10:08:19,171 (main) DEBUG [DataNucleus.Datastore.Schema] - An error occurred while auto-creating schema elements - rolling back
10:08:19,171 (main) ERROR [DataNucleus.SchemaTool] - An exception was thrown during the operation of SchemaTool. Please refer to the log for full details. The following may help : Unsupported relationship with field metamicro.jet.core.persistency.modules.PyModule.parent
Unsupported relationship with field metamicro.jet.core.persistency.modules.PyModule.parent
org.datanucleus.exceptions.NucleusException: Unsupported relationship with field metamicro.jet.core.persistency.modules.PyModule.parent
at org.datanucleus.store.rdbms.table.ClassTable.initializePK(ClassTable.java:1024)
at org.datanucleus.store.rdbms.table.ClassTable.preInitialize(ClassTable.java:252)
at org.datanucleus.store.rdbms.RDBMSManager$ClassAdder.addClassTable(RDBMSManager.java:2563)
at org.datanucleus.store.rdbms.RDBMSManager$ClassAdder.addClassTables(RDBMSManager.java:2354)
at org.datanucleus.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:2625)
at org.datanucleus.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2279)
at org.datanucleus.store.rdbms.AbstractSchemaTransaction.execute(AbstractSchemaTransaction.java:113)
at org.datanucleus.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:912)
at org.datanucleus.store.rdbms.SchemaTool.createSchema(SchemaTool.java:673)
at org.datanucleus.store.rdbms.SchemaTool.main(SchemaTool.java:289)
jet-core-persistency-modules.jdo.gz

@andyjefferson andyjefferson changed the title Support that a Class reference him self with a Compound Identity that declare the self reference as part of the primary key Support that a Class reference itself with a Compound Identity that declare the self reference as part of the primary key Apr 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant