Hmm, looking at the adapter code, it doesn't appear that our H2
adapter supports auto-increment PKs. That is my first mistake. :-)
The logging is probably getting confused because the model specifies
auto-increment, but the code/bind is not doing that.
mrg
On Sun, Jul 11, 2010 at 10:33 AM, Mic
A little background. I'm using an in-memory H2 database
(jdbc:h2:mem:cbe) and have CreateIfNoSchemaStrategy selected in the
model to create the schema in memory on startup. For my DbEntities I
had Database-Generated selected for the primary keys. In looking at
the logs, I noticed that the CREATE
I haven't experienced that, but seems like a bug. Is it reproducible?
Andrus
On Jul 11, 2010, at 2:25 AM, Michael Gentry wrote:
Has anyone noticed/experienced the following logging anomaly in 3.0?
INFO: INSERT INTO Users (first_name, id, last_name, password, role,
username) VALUES (?, ?, ?,
Has anyone noticed/experienced the following logging anomaly in 3.0?
INFO: INSERT INTO Users (first_name, id, last_name, password, role,
username) VALUES (?, ?, ?, ?, ?, ?)
INFO: [bind: 1->first_name:'Wesley', 2->last_name:203,
3->password:'Perry', 4->role:NULL, 5->username:NULL,
6->username:'wpe