mirror of https://github.com/apache/openjpa.git
Set table names for attach entities in kernel.common.apps.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004759 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b664ab8b94
commit
a67852d2c0
|
@ -43,7 +43,7 @@ import org.apache.openjpa.persistence.FetchGroups;
|
|||
@FetchAttribute(name = "attachEArray", recursionDepth = 0)
|
||||
})
|
||||
})
|
||||
@Table(name="K_AttachA")
|
||||
@Table(name="K_ATTACHA")
|
||||
public class AttachA implements Serializable {
|
||||
|
||||
@Id
|
||||
|
|
|
@ -35,6 +35,7 @@ import javax.persistence.GenerationType;
|
|||
import javax.persistence.Id;
|
||||
import javax.persistence.ManyToMany;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import org.apache.openjpa.persistence.jdbc.KeyColumn;
|
||||
import org.apache.openjpa.persistence.FetchAttribute;
|
||||
|
@ -51,9 +52,9 @@ import org.apache.openjpa.persistence.jdbc.KeyColumn;
|
|||
@FetchAttribute(name = "bigIntegerPCMap", recursionDepth = 0),
|
||||
@FetchAttribute(name = "embeddedE", recursionDepth = 0),
|
||||
@FetchAttribute(name = "embeddedA", recursionDepth = 0)
|
||||
|
||||
})
|
||||
})
|
||||
@Table(name="K_ATTACHD")
|
||||
public class AttachD implements Serializable {
|
||||
|
||||
@Id
|
||||
|
|
|
@ -47,7 +47,7 @@ import org.apache.openjpa.persistence.FetchGroups;
|
|||
@FetchAttribute(name = "f")
|
||||
})
|
||||
})
|
||||
@Table(name="K_AttachE")
|
||||
@Table(name="K_ATTACHE")
|
||||
public class AttachE implements Serializable {
|
||||
|
||||
@Id
|
||||
|
|
|
@ -30,6 +30,7 @@ import javax.persistence.Id;
|
|||
import javax.persistence.IdClass;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import org.apache.openjpa.persistence.FetchAttribute;
|
||||
import org.apache.openjpa.persistence.FetchGroup;
|
||||
|
@ -46,6 +47,7 @@ import org.apache.openjpa.persistence.PersistentCollection;
|
|||
@FetchAttribute(name = "embeddedC", recursionDepth = 0)
|
||||
})
|
||||
})
|
||||
@Table(name="K_ATTACHF")
|
||||
public class AttachF implements Serializable {
|
||||
|
||||
@Id
|
||||
|
|
Loading…
Reference in New Issue