I'm unable to recreate your failure, can you try a newer view of OpenJPA? ...I
tested with 1.2 and 2.0.
-Rick
--
View this message in context:
http://n2.nabble.com/same-%40Id-on-mapped-superclass-tp2435374p2576289.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Thanks for your reply.
The DB is MySQL 5.1 win32 and AppServer is "Tomcat integrated OpenEJB 3.1"
(equipped openjpa-1.1.0.jar).
And this is my scenario...
I have an abstract class MasterObjectBase as
@MappedSuperclass
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public abstract class
Kaayan -
We're going to need a more detailed description of your scenario to figure out
whats going on.
-Rick
Hello, I have a similar problem here.
My DB is MySQL, and was running JBoss(which uses Hibernate as Persistence
Provider), and with some data in DB.
Now I have switched to 'tomcat w
Hello, I have a similar problem here.
My DB is MySQL, and was running JBoss(which uses Hibernate as Persistence
Provider), and with some data in DB.
Now I have switched to 'tomcat with openejb 3.1 integration', persistence
provider is openjpa.
Following the instructions, I have marked the sup
Hi,
You should define a Inheritance strategy. If you are using SINGLE_TABLE
strategy then you should also define a Discrimnator value for each subclass.
Marc Logemann wrote:
>
> Hi,
>
> following domain model:
>
> @MappedSuperclass
> public class BasicMetaData {
>
> @Id
> @Colu
Hi,
following domain model:
@MappedSuperclass
public class BasicMetaData {
@Id
@Column(name = "oid")
private long oid;
...
}
@Entity
@VersionColumn(name = "jdoversion")
@Table(name = "foo1")
public class MetaData1 extends BasicMetaData {
}
@Entity
@VersionColumn(name = "jdoversio