[hibernate-commits] Hibernate SVN: r11455 - trunk/HibernateExt/shards/src/java/org/hibernate/shards/cfg.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Wed May 2 02:16:34 EDT 2007
Author: max.ross
Date: 2007-05-02 02:16:34 -0400 (Wed, 02 May 2007)
New Revision: 11455
Modified:
trunk/HibernateExt/shards/src/java/org/hibernate/shards/cfg/ShardedEnvironment.java
Log:
add a constant for the shard id property (part of config rework)
Modified: trunk/HibernateExt/shards/src/java/org/hibernate/shards/cfg/ShardedEnvironment.java
===================================================================
--- trunk/HibernateExt/shards/src/java/org/hibernate/shards/cfg/ShardedEnvironment.java 2007-05-02 06:15:39 UTC (rev 11454)
+++ trunk/HibernateExt/shards/src/java/org/hibernate/shards/cfg/ShardedEnvironment.java 2007-05-02 06:16:34 UTC (rev 11455)
@@ -38,5 +38,10 @@
*/
public static final String CHECK_ALL_ASSOCIATED_OBJECTS_FOR_DIFFERENT_SHARDS = "hibernate.shard.enable_cross_shard_relationship_checks";
+ /**
+ * Unique identifier for a shard. Must be an Integer.
+ */
+ public static final String SHARD_ID_PROPERTY = "hibernate.connection.shard_id";
+
private ShardedEnvironment() {}
}
More information about the hibernate-commits
mailing list