I'm going to ask the obvious.... but is the id column in your db named idMigration?
Another thing, I see you are using @GeneratedValue(strategy= GenerationType.AUTO) for your id... but I assume you want to use the MySQL AUTO_INCREMENT function? If so, change GenerationType.AUTO to GenerationType.IDENTITY. hth, Rick On Thu, Aug 12, 2010 at 3:07 AM, nicolas13 <[email protected]> wrote: > > nothing special with the SQL logs, idMigration is queried. > > 6314 TestPlan TRACE [btpool0-0] openjpa.jdbc.SQL - <t 15926420, conn > 16632831> executing prepstmnt 21406988 SELECT t0.idMigration, > t0.consumedMigration, t0.emailMigration, t0.pwdMigration FROM SOF_MIGRATION > t0 > 6315 TestPlan TRACE [btpool0-0] openjpa.jdbc.SQL - <t 15926420, conn > 16632831> [1 ms] spent >
