sebtrif / hibernate-sqlite

Automatically exported from code.google.com/p/hibernate-sqlite
0 stars 0 forks source link

id column not being written? #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create table with an id field
2. run test

What is the expected output? What do you see instead?
EXPECTED:
Hibernate: 
    insert 
    into
        users
        (id, name, password) 
    values
        (?, ?, ?)
Hibernate: 
    select
        last_insert_rowid()
INSTEAD:
Hibernate: 
    insert 
    into
        users
        (name, password) 
    values
        (?, ?)
Hibernate: 
    select
        last_insert_rowid()

What version of the product are you using? On what operating system?
current - 22/07/2011 - windows vista 32.

Please provide any additional information below.
standard install from current binaries. seems to work perfectly. I recreated 
the users table with an id column but the "id" does not get written

Original issue reported on code.google.com by conor.wi...@gmail.com on 22 Jul 2011 at 10:58