Liquibase Community Forum
2011-01-05 15:33:47 UTC
A new topic, '2.0.0 / 2.0 RC7 generateChangeLog miss AutoIncrement', has been made on a board you are watching.
You can see it at
http://liquibase.org/forum/index.php?topic=895.new#new
The text of the topic is shown below:
Hello,
I'm working on a project using Hibernate as DLA. I first test my application using embedded Hibernate in-memory engine then I create the MySQL "crebas" XML file to get Liquibase deploy it on server.
I noticed some issues as in Hibernate I got a table with "native generator" which is deployed by Hibernate as autoIncrement in MySQL but Liquibase export Hibernate stuff as standard primary key. Once Liquibase deployed crebas, my attribute is not autoIncrement.
Is the problem due to Liquibase dialogue with Hibernate ?
Or due to Hibernate not telling the autoincrement stuff (Hibernate should tell he is generating an autoincrement, or maybe it is the mysql.driver that automatically understands this critical point).
Please help!
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.
You can see it at
http://liquibase.org/forum/index.php?topic=895.new#new
The text of the topic is shown below:
Hello,
I'm working on a project using Hibernate as DLA. I first test my application using embedded Hibernate in-memory engine then I create the MySQL "crebas" XML file to get Liquibase deploy it on server.
I noticed some issues as in Hibernate I got a table with "native generator" which is deployed by Hibernate as autoIncrement in MySQL but Liquibase export Hibernate stuff as standard primary key. Once Liquibase deployed crebas, my attribute is not autoIncrement.
Is the problem due to Liquibase dialogue with Hibernate ?
Or due to Hibernate not telling the autoincrement stuff (Hibernate should tell he is generating an autoincrement, or maybe it is the mysql.driver that automatically understands this critical point).
Please help!
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.