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
You are attempting to link to a primary key column in table "Kirja" in a foreign key that is already linked to primary key c olumns in table "Kirjailija".
java.lang.IllegalArgumentException: You are attempting to link to a primary
key column in table "Kirja" in a foreign key that is already linked to
primary key c
olumns in table "Kirjailija".	at com.solarmetric.rd.kodo.impl.jdbc.schema.ForeignKey.join(ForeignKey.java:238)	at com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGenerator.generateForeignKeys(SchemaGenerator.java:625)	at com.solarmetric.rd.kodo.impl.jdbc.schema.DynamicSchemaFactory.findTable(DynamicSchemaFactory.java:111)	at com.solarmetric.rd.kodo.impl.jdbc.meta.map.BaseClassMapping.fromMappingInfo(BaseClassMapping.java:113)	at com.solarmetric.rd.kodo.impl.jdbc.meta.Mappings.createClassMapping(Mappings.java:144)	at com.solarmetric.rd.kodo.impl.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:279)	at com.solarmetric.rd.kodo.impl.jdbc.meta.MappingRepository.getMetaData(MappingRepository.java:147)	at com.solarmetric.rd.kodo.impl.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:158)	at com.solarmetric.rd.kodo.impl.jdbc.meta.compat.ImportTool.getMapping(ImportTool.java:126)	at com.solarmetric.rd.kodo.impl.jdbc.meta.compat.ImportTool.importMappings(ImportTool.java:57)	at com.solarmetric.rd.kodo.impl.jdbc.meta.compat.ImportTool.run(ImportTool.java:408)	at com.solarmetric.rd.kodo.impl.jdbc.meta.compat.ImportTool.main(ImportTool.java:385)