I'm having some trouble with joined inheritance, my mappings are as follows but
OpenJPA doesn't seem to be picking up my @DiscriminatorValue.
Probably missing something obvious but can't see what... any suggestions much
appreciated
@Entity
@Table(name = user_account)
@Inheritance(strategy =
,
result_int, result_text, answer_type, lead_id, survey_id,
question_id, single_choice)
Should this not happen automatically or am I missing something?
Thanks
Phill
OpenJPA 2.1.0 and PostgreSQL 9
I have separate DDL.
Phill
On 02/mar/2011, at 16.22, Jeremy Bauer wrote:
Hi Phill,
What database and version of OpenJPA are you using? Also, does OpenJPA
generate the tables or do you have separate DDL?
-Jeremy
On Wed, Mar 2, 2011 at 8:49 AM, Phill ph
id;
On 02/mar/2011, at 17.24, Jeremy Bauer wrote:
Thanks, Phill. Sorry, I forgot to ask - does SurveyAnswer also use the same
id generation strategy as Lead? In the meantime, I'll begin trying to
reproduce the failure you are seeing.
-Jeremy
On Wed, Mar 2, 2011 at 9:26 AM, Phill ph