Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- properties.put("hibernate.id.new_generator_mappings", "true");
- public Class getNativeIdentifierGeneratorClass() {
- if ( supportsIdentityColumns() ) {
- return IdentityGenerator.class;
- }
- else if ( supportsSequences() ) {
- return SequenceGenerator.class;
- }
- else {
- return TableHiLoGenerator.class;
- }
- }
Add Comment
Please, Sign In to add comment