[hibernate-commits] Hibernate SVN: r11305 - in trunk/HibernateExt/shards: src/java/org/hibernate/shards/session and 3 other directories.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Mon Mar 19 18:19:11 EDT 2007
Author: max.ross
Date: 2007-03-19 18:19:11 -0400 (Mon, 19 Mar 2007)
New Revision: 11305
Removed:
trunk/HibernateExt/shards/jdbc/mysql-3.0.14.jar
Modified:
trunk/HibernateExt/shards/src/java/org/hibernate/shards/session/CrossShardRelationshipDetectingInterceptor.java
trunk/HibernateExt/shards/src/test/org/hibernate/shards/integration/MemoryLeakPlugger.java
trunk/HibernateExt/shards/src/test/org/hibernate/shards/integration/platform/mysql/MySQLDatabasePlatform.java
trunk/HibernateExt/shards/src/test/org/hibernate/shards/query/SetBigIntegerEventTest.java
Log:
remove compile-time dependency on mysql
Deleted: trunk/HibernateExt/shards/jdbc/mysql-3.0.14.jar
===================================================================
(Binary files differ)
Modified: trunk/HibernateExt/shards/src/java/org/hibernate/shards/session/CrossShardRelationshipDetectingInterceptor.java
===================================================================
--- trunk/HibernateExt/shards/src/java/org/hibernate/shards/session/CrossShardRelationshipDetectingInterceptor.java 2007-03-19 22:06:45 UTC (rev 11304)
+++ trunk/HibernateExt/shards/src/java/org/hibernate/shards/session/CrossShardRelationshipDetectingInterceptor.java 2007-03-19 22:19:11 UTC (rev 11305)
@@ -18,14 +18,6 @@
package org.hibernate.shards.session;
-import org.hibernate.shards.CrossShardAssociationException;
-import org.hibernate.shards.ShardId;
-import org.hibernate.shards.util.Pair;
-import org.hibernate.shards.session.ShardedSessionImpl;
-import org.hibernate.shards.util.Iterables;
-import org.hibernate.shards.util.Lists;
-import org.hibernate.shards.util.Preconditions;
-
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.CallbackException;
@@ -33,6 +25,12 @@
import org.hibernate.ObjectNotFoundException;
import org.hibernate.collection.PersistentCollection;
import org.hibernate.proxy.HibernateProxy;
+import org.hibernate.shards.CrossShardAssociationException;
+import org.hibernate.shards.ShardId;
+import org.hibernate.shards.util.Iterables;
+import org.hibernate.shards.util.Lists;
+import org.hibernate.shards.util.Pair;
+import org.hibernate.shards.util.Preconditions;
import org.hibernate.type.Type;
import java.io.Serializable;
Modified: trunk/HibernateExt/shards/src/test/org/hibernate/shards/integration/MemoryLeakPlugger.java
===================================================================
--- trunk/HibernateExt/shards/src/test/org/hibernate/shards/integration/MemoryLeakPlugger.java 2007-03-19 22:06:45 UTC (rev 11304)
+++ trunk/HibernateExt/shards/src/test/org/hibernate/shards/integration/MemoryLeakPlugger.java 2007-03-19 22:19:11 UTC (rev 11305)
@@ -18,13 +18,12 @@
package org.hibernate.shards.integration;
-import org.hibernate.shards.Shard;
-import org.hibernate.shards.session.ShardedSessionImpl;
-
import net.sf.cglib.proxy.Callback;
import org.hibernate.engine.StatefulPersistenceContext;
import org.hibernate.impl.SessionImpl;
+import org.hibernate.shards.Shard;
+import org.hibernate.shards.session.ShardedSessionImpl;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Field;
Modified: trunk/HibernateExt/shards/src/test/org/hibernate/shards/integration/platform/mysql/MySQLDatabasePlatform.java
===================================================================
--- trunk/HibernateExt/shards/src/test/org/hibernate/shards/integration/platform/mysql/MySQLDatabasePlatform.java 2007-03-19 22:06:45 UTC (rev 11304)
+++ trunk/HibernateExt/shards/src/test/org/hibernate/shards/integration/platform/mysql/MySQLDatabasePlatform.java 2007-03-19 22:19:11 UTC (rev 11305)
@@ -18,8 +18,6 @@
package org.hibernate.shards.integration.platform.mysql;
-import com.mysql.jdbc.Driver;
-
import org.hibernate.shards.integration.IdGenType;
import org.hibernate.shards.integration.platform.BaseDatabasePlatform;
import org.hibernate.shards.integration.platform.DatabasePlatform;
@@ -31,7 +29,7 @@
* @author maxr at google.com (Max Ross)
*/
public class MySQLDatabasePlatform extends BaseDatabasePlatform {
- private static final String DRIVER_CLASS = Driver.class.getName();
+ private static final String DRIVER_CLASS = "com.mysql.jdbc.Driver";
private static final String DB_URL_PREFIX = "jdbc:mysql://localhost:3306/shard";
private static final String DB_USER = "shard_user";
private static final String DB_PASSWORD = "shard";
Modified: trunk/HibernateExt/shards/src/test/org/hibernate/shards/query/SetBigIntegerEventTest.java
===================================================================
--- trunk/HibernateExt/shards/src/test/org/hibernate/shards/query/SetBigIntegerEventTest.java 2007-03-19 22:06:45 UTC (rev 11304)
+++ trunk/HibernateExt/shards/src/test/org/hibernate/shards/query/SetBigIntegerEventTest.java 2007-03-19 22:19:11 UTC (rev 11305)
@@ -18,10 +18,10 @@
package org.hibernate.shards.query;
-import org.hibernate.shards.defaultmock.QueryDefaultMock;
+import junit.framework.TestCase;
-import junit.framework.TestCase;
import org.hibernate.Query;
+import org.hibernate.shards.defaultmock.QueryDefaultMock;
import java.math.BigInteger;
More information about the hibernate-commits
mailing list