Should I use EntityManager to map one PO to several tables?(like entity-name in hibernate)

Discussion in 'Java' started by cenoxqi@gmail.com, Nov 11, 2007.

  1. Guest

    I'm doing my job to put my code in EntityManager from hibernate.

    Now I have a problem. When I using hibernate, I could use "entity-
    name" so that I can map one po class to more than one db table. But I
    can't use "entity-name" in EntityManager.

    Do I have to write a more PO class to map another table, even the two
    PO class almostly no different?
     
    , Nov 11, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Samuel van Laere

    Entity Name or Entity Number?

    Samuel van Laere, Feb 24, 2007, in forum: HTML
    Replies:
    4
    Views:
    1,635
    Jukka K. Korpela
    Feb 24, 2007
  2. Lew
    Replies:
    3
    Views:
    23,587
    EricF
    Jan 30, 2008
  3. grz01
    Replies:
    0
    Views:
    451
    grz01
    Sep 15, 2008
  4. markla
    Replies:
    1
    Views:
    549
    Steven Cheng
    Oct 6, 2008
  5. Giovanni Azua
    Replies:
    2
    Views:
    1,592
    Giovanni Azua
    Feb 12, 2009
Loading...

Share This Page