Ok, thank you, that helped: http://paste.pocoo.org/show/551576/

Now I get closer to my problem:

"MySQLSyntaxErrorException: Table 'eHour.AUTO_PK_SUPPORT' doesn't exist"

Have I to create such a table in the existing database? Even if I will never
use any automation on PK?

According to
http://cayenne.195.n3.nabble.com/MySQL-DbGenerator-and-auto-increment-td5663.html
I tried to set the PK Generation Strategie to Database-Generated. However, a
field appears in Cayenne modeler to select the column for Auto Increment.
But no field shall be auto incremented. It is my responsibility to make the
two-columns key unique. (A link to a project assignment and the entry date,
there shall only be one date to an assignment.)

I left that field in the state <Select Generated Column>, synchronized the
object entity and generated the classes. The failure message remains.

I think I missed to understand how to use a reengineered schema where all
uniqueness of key values shall be the responsibility of my Java software.

Any further advice for me how to cope with this error message?

Kind Regards

Rolf


--
View this message in context: 
http://cayenne.195.n3.nabble.com/logging-first-steps-tp3746972p3747815.html
Sent from the Cayenne - User mailing list archive at Nabble.com.

Reply via email to