openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ofir Tam <>
Subject Embedding a MappedSuperClass in another MappedSuperClass
Date Sun, 28 Jun 2009 12:23:13 GMT
I have a problem embedding a MappedSuperClass in another MappedSuperClass.
I want my entity to have it's super class member (which is abstract).
I get some null pointer exception in 
I have openjpa-1.2.1
I was wondering how can I achieve this structure:

abstract BaseClass1 {
  BaseClass2 member;

abstract BaseClass2{

Class1 extends BaseClass1

Class2 extends BaseClass2‎

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message