Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #7686

Re: Persistence API - magic?

From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: Persistence API - magic?
Date 2011-09-07 10:57 -0700
Organization A noiseless patient Spider
Message-ID <j48bav$594$1@dont-email.me> (permalink)
References <7e3a3be9-8960-4b94-8028-2da962435fc8@u6g2000yqa.googlegroups.com> <j46ev4$fpo$1@dont-email.me> <b1517a0a-2f5a-4695-9f5f-37b83b227032@en1g2000vbb.googlegroups.com> <j485b6$qe0$1@dont-email.me> <ee706e46-a109-430f-937c-27bd7db638e7@glegroupsg2000goo.googlegroups.com>

Show all headers | View raw


On 9/7/2011 10:36 AM, Lew wrote:

> Does that work for you?  I seem to remember getting error messages
> when I tried to mix field and accessor JPA annotations in the same
> class.


Hmm, I haven't actually tried it.  That's copied from a book.  I was 
going link to this anyway for the op:

Pro JPA 2, by Mike Keith and Merrick Schincariol, Apress

<http://www.amazon.com/Pro-JPA-Mastering-Persistence-Technology/dp/1430219564>


> Even if allowed, it's not a good practice.


Yes, the example called it out as being "unusual" but they wanted to 
give an example how it would be done, if needed.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Persistence API - magic? nroberts <roberts.noah@gmail.com> - 2011-09-06 15:52 -0700
  Re: Persistence API - magic? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-06 21:40 -0300
    Re: Persistence API - magic? nroberts <roberts.noah@gmail.com> - 2011-09-07 07:56 -0700
      Re: Persistence API - magic? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-07 17:34 -0300
  Re: Persistence API - magic? markspace <-@.> - 2011-09-06 17:47 -0700
    Re: Persistence API - magic? Lew <lewbloch@gmail.com> - 2011-09-06 18:26 -0700
      Re: Persistence API - magic? markspace <-@.> - 2011-09-06 19:01 -0700
    Re: Persistence API - magic? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-07 06:14 -0300
    Re: Persistence API - magic? nroberts <roberts.noah@gmail.com> - 2011-09-07 08:10 -0700
      Re: Persistence API - magic? markspace <-@.> - 2011-09-07 09:15 -0700
        Re: Persistence API - magic? Lew <lewbloch@gmail.com> - 2011-09-07 10:36 -0700
          Re: Persistence API - magic? markspace <-@.> - 2011-09-07 10:57 -0700
            Re: Persistence API - magic? Lew <lewbloch@gmail.com> - 2011-09-07 11:06 -0700
  Re: Persistence API - magic? Lew <lewbloch@gmail.com> - 2011-09-06 18:09 -0700
  Re: Persistence API - magic? Roedy Green <see_website@mindprod.com.invalid> - 2011-09-08 12:32 -0700
    Re: Persistence API - magic? "John B. Matthews" <nospam@nospam.invalid> - 2011-09-08 19:23 -0400

csiph-web