Author: steve.ebersole(a)jboss.com
Date: 2008-08-29 10:49:07 -0400 (Fri, 29 Aug 2008)
New Revision: 15147
Modified:
core/branches/Branch_3_3/core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java
Log:
HHH-3454 : allow segment value default to be the entity table name
Modified:
core/branches/Branch_3_3/core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java
===================================================================
---
core/branches/Branch_3_3/core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java 2008-08-29
14:48:38 UTC (rev 15146)
+++
core/branches/Branch_3_3/core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java 2008-08-29
14:49:07 UTC (rev 15147)
@@ -128,7 +128,7 @@
public class TableGenerator extends TransactionHelper implements
PersistentIdentifierGenerator, Configurable {
private static final Logger log = LoggerFactory.getLogger( TableGenerator.class );
- public static final String CONFIG_PREFER_SEGMENT_PER_ENTITY =
"hibernate.id.enhanced.table.prefer_segment_per_entity";
+ public static final String CONFIG_PREFER_SEGMENT_PER_ENTITY =
"prefer_entity_table_as_segment_value";
public static final String TABLE_PARAM = "table_name";
public static final String DEF_TABLE = "hibernate_sequences";
Show replies by date