Morning, People.
I'm starting with Hibernate 3.0, and I have a doubt.
I'm trying to develop a system that could be used in various DB engines (Oracle, MS SQL Server, PostgreSQL, MySQL).
I've already read the Hibernate documentation, about mapping the id column in database. I use sequences, in Oracle and Postgre, and auto-increment columns, in MS SQL Server and MySQL. So, I should use the "native" generator class, as the documentation says.
But, how could I tell Hibernate what sequence it should gets the id?
Thanks for helping me.
Buosi.
|