ANN-821 - org.hibernate.test.annotations.manytomany.ManyToManyTest fails on sybase due to index too large

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16344 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Gail Badner 2009-04-15 18:40:43 +00:00
parent a5168c3d22
commit ba4c92747e
3 changed files with 9 additions and 0 deletions

View File

@ -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 @@ public class CatPk implements Serializable {
private String name;
private String thoroughbred;
@Column(length=128)
public String getThoroughbred() {
return thoroughbred;
}
@ -18,6 +20,7 @@ public class CatPk implements Serializable {
this.thoroughbred = thoroughbred;
}
@Column(length=128)
public String getName() {
return name;
}

View File

@ -3,6 +3,7 @@ package org.hibernate.test.annotations.manytomany;
import java.io.Serializable;
import javax.persistence.Embeddable;
import javax.persistence.Column;
/**
* @author Emmanuel Bernard
@ -47,10 +48,12 @@ public class ManPk implements Serializable {
this.lastName = lastName;
}
@Column(length=128)
public String getFirstName() {
return firstName;
}
@Column(length=128)
public String getLastName() {
return lastName;
}

View File

@ -3,6 +3,7 @@ package org.hibernate.test.annotations.manytomany;
import java.io.Serializable;
import javax.persistence.Embeddable;
import javax.persistence.Column;
/**
* @author Emmanuel Bernard
@ -39,10 +40,12 @@ public class WomanPk implements Serializable {
this.lastName = lastName;
}
@Column(length=128)
public String getFirstName() {
return firstName;
}
@Column(length=128)
public String getLastName() {
return lastName;
}