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:
parent
a5168c3d22
commit
ba4c92747e
|
@ -2,6 +2,7 @@
|
||||||
package org.hibernate.test.annotations.manytomany;
|
package org.hibernate.test.annotations.manytomany;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
import javax.persistence.Column;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Emmanuel Bernard
|
* @author Emmanuel Bernard
|
||||||
|
@ -10,6 +11,7 @@ public class CatPk implements Serializable {
|
||||||
private String name;
|
private String name;
|
||||||
private String thoroughbred;
|
private String thoroughbred;
|
||||||
|
|
||||||
|
@Column(length=128)
|
||||||
public String getThoroughbred() {
|
public String getThoroughbred() {
|
||||||
return thoroughbred;
|
return thoroughbred;
|
||||||
}
|
}
|
||||||
|
@ -18,6 +20,7 @@ public class CatPk implements Serializable {
|
||||||
this.thoroughbred = thoroughbred;
|
this.thoroughbred = thoroughbred;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Column(length=128)
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@ package org.hibernate.test.annotations.manytomany;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import javax.persistence.Embeddable;
|
import javax.persistence.Embeddable;
|
||||||
|
import javax.persistence.Column;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Emmanuel Bernard
|
* @author Emmanuel Bernard
|
||||||
|
@ -47,10 +48,12 @@ public class ManPk implements Serializable {
|
||||||
this.lastName = lastName;
|
this.lastName = lastName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Column(length=128)
|
||||||
public String getFirstName() {
|
public String getFirstName() {
|
||||||
return firstName;
|
return firstName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Column(length=128)
|
||||||
public String getLastName() {
|
public String getLastName() {
|
||||||
return lastName;
|
return lastName;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@ package org.hibernate.test.annotations.manytomany;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import javax.persistence.Embeddable;
|
import javax.persistence.Embeddable;
|
||||||
|
import javax.persistence.Column;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Emmanuel Bernard
|
* @author Emmanuel Bernard
|
||||||
|
@ -39,10 +40,12 @@ public class WomanPk implements Serializable {
|
||||||
this.lastName = lastName;
|
this.lastName = lastName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Column(length=128)
|
||||||
public String getFirstName() {
|
public String getFirstName() {
|
||||||
return firstName;
|
return firstName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Column(length=128)
|
||||||
public String getLastName() {
|
public String getLastName() {
|
||||||
return lastName;
|
return lastName;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue