Sweet, glad I could help (if I really did)... On Tue, Jun 29, 2010 at 9:03 AM, Daryl Stultz <[email protected]> wrote: > On Tue, Jun 29, 2010 at 8:52 AM, Daryl Stultz <[email protected]> wrote: > >> >> It appears using @JoinTable with @ManyToOne is a JPA 2.0 feature. I'm using >> OpenJPA 1.2.1 so that explains it. >> > > I was able to get my virtual entity working against a view (postgresql) > without a problem. The "bogus primary key" is not unique, but I'm using it > for querying only. > > Also, I was able to relate A:E from E to A as @OneToMany with @JoinTable > (although I wanted to go A to E, but no big deal, it works). Thanks for the > suggestion, Matthew. > > -- > Daryl Stultz > _____________________________________ > 6 Degrees Software and Consulting, Inc. > http://www.6degrees.com > http://www.opentempo.com > mailto:[email protected] >
-- mailto:[email protected] skype:matthewadams12 yahoo:matthewadams aol:matthewadams12 google-talk:[email protected] msn:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadams
