openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garpinc <>
Subject similar issue to
Date Thu, 16 Aug 2012 14:56:26 GMT
I'm programmatically creating the persistence context via 

Properties jpaConf = new Properties();
        jpaConf.put("openjpa.Id", JPA_ID);

with following annotation

i'm getting error 
You have supplied columns for "XXX.yymethod", but this mapping cannot have
columns in this context.

I thought JoinColumn is supported with OneToMany in JPA 2.0 spec

am I doing something wrong here?

The issue seems similar to except that i'm not using
a persistence.xml in this use case.

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message