Author: gbadner
Date: 2009-04-15 14:13:07 -0400 (Wed, 15 Apr 2009)
New Revision: 16342
Modified:
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/manytomany/CatPk.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/manytomany/ManPk.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/manytomany/WomanPk.java
Log:
JBPAPP-1890 ANN-821 - org.hibernate.test.annotations.manytomany.ManyToManyTest fails on
sybase due to index too large
Modified:
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/manytomany/CatPk.java
===================================================================
---
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/manytomany/CatPk.java 2009-04-15
17:26:19 UTC (rev 16341)
+++
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/manytomany/CatPk.java 2009-04-15
18:13:07 UTC (rev 16342)
@@ -2,6 +2,7 @@
package org.hibernate.test.annotations.manytomany;
import java.io.Serializable;
+import javax.persistence.Column;
/**
* @author Emmanuel Bernard
@@ -10,6 +11,7 @@
private String name;
private String thoroughbred;
+ @Column(length=128)
public String getThoroughbred() {
return thoroughbred;
}
@@ -18,6 +20,7 @@
this.thoroughbred = thoroughbred;
}
+ @Column(length=128)
public String getName() {
return name;
}
Modified:
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/manytomany/ManPk.java
===================================================================
---
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/manytomany/ManPk.java 2009-04-15
17:26:19 UTC (rev 16341)
+++
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/manytomany/ManPk.java 2009-04-15
18:13:07 UTC (rev 16342)
@@ -3,6 +3,7 @@
import java.io.Serializable;
import javax.persistence.Embeddable;
+import javax.persistence.Column;
/**
* @author Emmanuel Bernard
@@ -47,10 +48,12 @@
this.lastName = lastName;
}
+ @Column(length=128)
public String getFirstName() {
return firstName;
}
+ @Column(length=128)
public String getLastName() {
return lastName;
}
Modified:
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/manytomany/WomanPk.java
===================================================================
---
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/manytomany/WomanPk.java 2009-04-15
17:26:19 UTC (rev 16341)
+++
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/manytomany/WomanPk.java 2009-04-15
18:13:07 UTC (rev 16342)
@@ -3,6 +3,7 @@
import java.io.Serializable;
import javax.persistence.Embeddable;
+import javax.persistence.Column;
/**
* @author Emmanuel Bernard
@@ -39,10 +40,12 @@
this.lastName = lastName;
}
+ @Column(length=128)
public String getFirstName() {
return firstName;
}
+ @Column(length=128)
public String getLastName() {
return lastName;
}
Show replies by date