openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <da...@6degrees.com>
Subject Re: Virtual Entity
Date Tue, 29 Jun 2010 12:52:48 GMT
On Tue, Jun 29, 2010 at 8:19 AM, Daryl Stultz <daryl@6degrees.com> 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:daryl.stultz@opentempo.com

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