1. Can I configure Hibernate to create separate sequence for each table by default? stackoverflow.com
Hibernate by default creates a globel sequence which is used to generate ids for all tables, (in the case for PostgreSQL) which scales very bad IMHO. Though I can specify for ...
2. Can I override the default value of a @Generated field? forum.hibernate.org
Hi there, I have an updatedOn field annotated with @Generated(@Generated(GenerationTime.ALWAYS)). The database is MySQL and the column is defined as: `updatedOn` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP I want to be able to override the default value when I insert. This is necessary to implement versionning where I'd like to copy a row, including its updatedOn column. I understand ...
3. Can the hibernate default sequence sql be auto generated? forum.hibernate.org
Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version:2.18 Mapping documents:
4. How to use database generated default value? forum.hibernate.org