com.solarmetric.kodo.runtime.FatalUserException: The current DBDictionary class "com.solarmetric.kodo.impl.jdbc.schema.dict.DB2Dictionary" does not support auto-incrementing primary key columns, but the persistence-capable type "Person" uses the AutoIncrementSequenceFactory. To proceed, you must either use a different sequence factory or a dictionary that is capable of supporting auto-incrementing primary keys.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
The current DBDictionary class "com.solarmetric.kodo.impl.jdbc.schema.dict.DB2Dictionary" does not support auto-incrementing primary key columns, but the persistence-capable type "Person" uses the AutoIncrementSequenceFactory. To proceed, you must either use a different sequence factory or a dictionary that is capable of supporting auto-incrementing primary keys.
com.solarmetric.kodo.runtime.FatalUserException: The current DBDictionary class "com.solarmetric.kodo.impl.jdbc.schema.dict.DB2Dictionary" does not support auto-incrementing primary key columns, but the persistence-capable type "Person" uses the AutoIncrementSequenceFactory. To proceed, you must either use a different sequence factory or a dictionary that is capable of supporting auto-incrementing primary keys.
at com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.createPKColumns(ClassMapping.java:1655)
at com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.install(ClassMapping.java:1477)
at com.solarmetric.kodo.impl.jdbc.ormapping.Mapping.createMapping(Mapping.java:170)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.