users@glassfish.java.net
Re: How to persist an entity with Composite primary key
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, 25 Jun 2007 12:14:41 PDT
Hi,
please post the complete definition for class C. Are the relationship fields annotated as UPDATABLE=false?
An example similar to your problem can be found in the JEE 5 tutorial example of order:
javaeetutorial5\examples\ejb\order\order-ejb\src\java\order\entity\LineItem
Please also see the discussion titled "@Embeddable class" that can be found under
https://glassfish.dev.java.net/servlets/SearchList?list=persistence&searchText=embeddable+class&defaultField=subject&Search=Search
[Message sent by forum member 'mf125085' (mf125085)]
http://forums.java.net/jive/thread.jspa?messageID=223841
This message
: [
Message body
]
Next message
:
glassfish_at_javadesktop.org: "Re: JoinTable not always updated!!!???"
Previous message
:
glassfish_at_javadesktop.org: "Re: JoinTable not always updated!!!???"
In reply to
:
glassfish_at_javadesktop.org: "How to persist an entity with Composite primary key"
Next in thread
:
glassfish_at_javadesktop.org: "Re: How to persist an entity with Composite primary key"
Reply
:
glassfish_at_javadesktop.org: "Re: How to persist an entity with Composite primary key"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]