Author: steve.ebersole(a)jboss.com
Date: 2008-08-29 10:49:34 -0400 (Fri, 29 Aug 2008)
New Revision: 15148
Modified:
core/trunk/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/trunk/core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java
===================================================================
--- core/trunk/core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java 2008-08-29
14:49:07 UTC (rev 15147)
+++ core/trunk/core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java 2008-08-29
14:49:34 UTC (rev 15148)
@@ -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";