Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #10283
| From | "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: JPA OneToOne annotation across two different jdbc drivers |
| Date | 2011-11-27 16:07 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <jaujcd$cln$1@dont-email.me> (permalink) |
| References | <jaes5h$8bo$1@dont-email.me> <26839074.317.1321974960424.JavaMail.geo-discussion-forums@prdy11> <jaheje$34l$1@dont-email.me> <jahm3o$7tt$1@dont-email.me> |
On 11/22/2011 06:34 PM, Jeffrey H. Coffield wrote: > I just found out from another source that this feature takes EclipseLink > 2.3 or later which takes NetBeans 7.1. I was using Netbeans 7.0.1 so > nothing worked. NetBeans 7.1 is in Beta now so I am going to download it > and try again. > > Thanks to those who responded. > > Jeff Coffield > Answering my own post again. I got the annotations for OneToOne and OneToMany to work bidirectionally across two different databases with different JDBC drivers using NetBeans 7.1 Beta and EclipseLink 2.3. It appears to be quite fragile as I got numerous NetBeans internal errors until I got everything exactly right. If someone is interested, I will put together an outline, but for someone more familiar with the way annotations work, the Sun Eclipselink pages on composite persistence units do point the way. It is very new and I suspect some aspects will change as more development is done, so I am not sure we are going to adopt this just yet but it is possible to do and does seem to be the in the future of JPA. Also we have done no testing on using these annotations to actually update databases. Again, thanks to all who posted comments. Jeff Coffield
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
JPA OneToOne annotation across two different jdbc drivers "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> - 2011-11-21 16:59 -0800
Re: JPA OneToOne annotation across two different jdbc drivers Robert Klemme <shortcutter@googlemail.com> - 2011-11-22 07:02 -0800
Re: JPA OneToOne annotation across two different jdbc drivers Lew <lewbloch@gmail.com> - 2011-11-22 07:16 -0800
Re: JPA OneToOne annotation across two different jdbc drivers jlp <jlp@jlp.com> - 2011-11-22 19:14 +0100
Re: JPA OneToOne annotation across two different jdbc drivers "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> - 2011-11-22 16:26 -0800
Re: JPA OneToOne annotation across two different jdbc drivers "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> - 2011-11-22 18:34 -0800
Re: JPA OneToOne annotation across two different jdbc drivers Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-11-23 07:32 -0400
Re: JPA OneToOne annotation across two different jdbc drivers Arne Vajhøj <arne@vajhoej.dk> - 2011-11-25 21:41 -0500
Re: JPA OneToOne annotation across two different jdbc drivers "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> - 2011-11-27 16:07 -0800
Re: JPA OneToOne annotation across two different jdbc drivers Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-11-28 06:42 -0400
Re: JPA OneToOne annotation across two different jdbc drivers Lew <lewbloch@gmail.com> - 2011-11-23 12:38 -0800
Re: JPA OneToOne annotation across two different jdbc drivers Gene Wirchenko <genew@ocis.net> - 2011-11-23 14:52 -0800
Re: JPA OneToOne annotation across two different jdbc drivers Arne Vajhøj <arne@vajhoej.dk> - 2011-11-25 21:37 -0500
Re: JPA OneToOne annotation across two different jdbc drivers Gene Wirchenko <genew@ocis.net> - 2011-11-26 21:22 -0800
Re: JPA OneToOne annotation across two different jdbc drivers Arne Vajhøj <arne@vajhoej.dk> - 2011-12-02 21:03 -0500
Re: JPA OneToOne annotation across two different jdbc drivers Arne Vajhøj <arne@vajhoej.dk> - 2011-11-25 21:38 -0500
csiph-web