users@glassfish.java.net
Re: JPA settings problem
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: <
glassfish_at_javadesktop.org
>
Date
: Mon, 02 Jul 2007 14:09:31 PDT
You should definitely move the relationship into the Phone class.
For an example on composite keys, check out the classes LineItem and LineItemKey in the Javaee 5 tutorial:
http://java.sun.com/javaee/5/docs/tutorial/doc
.
The classes can be found under
examples/ejb/order/order-ejb/src/java/order/entity
IMHO, PhonePk should only have the fields [i]number[/i] and [i]phoneType[/i].
[Message sent by forum member 'mf125085' (mf125085)]
http://forums.java.net/jive/thread.jspa?messageID=224968
This message
: [
Message body
]
Next message
:
Ryan de Laplante: "Re: Sun Application Platform SDK"
Previous message
:
Ryan de Laplante: "Re: Sun Application Platform SDK"
In reply to
:
glassfish_at_javadesktop.org: "Re: JPA settings problem"
Next in thread
:
glassfish_at_javadesktop.org: "Re: JPA settings problem"
Reply
:
glassfish_at_javadesktop.org: "Re: JPA settings problem"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]