On Tue, Jun 29, 2010 at 8:19 AM, Daryl Stultz <[email protected]> wrote:

>
>
> Matthew, I'm wondering if you can give a few more details here. It seems
> pretty straightforward, yet OpenJPA is throwing an exception.
>
>>
> @ManyToOne(fetch = FetchType.LAZY)
>
>> @JoinTable(schema = "logical", name = "a_e",
>
>> joinColumns = @JoinColumn(name = "a_id"),
>
>> inverseJoinColumns = @JoinColumn(name = "e_id")
>
>> )
>
>> private E e;
>

It appears using @JoinTable with @ManyToOne is a JPA 2.0 feature. I'm using
OpenJPA 1.2.1 so that explains it.

Nevermind.

-- 
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
http://www.opentempo.com
mailto:[email protected]

Reply via email to