users@glassfish.java.net
Re: Is there a mechanism to observe entities for changes?
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
: Wed, 10 Oct 2007 15:41:02 PDT
You could use the JPA triggers @PostUpdate and @PostInsert in your entities if you don't have too many of them.
There must be a JPA way to do this, check the ejb3-persistence specification PDF document, it's not so long :
http://jcp.org/aboutJava/communityprocess/final/jsr220/
Paul
[Message sent by forum member 'eskatos' (eskatos)]
http://forums.java.net/jive/thread.jspa?messageID=239407
This message
: [
Message body
]
Next message
:
glassfish_at_javadesktop.org: "Re: Is there a mechanism to observe entities for changes?"
Previous message
:
glassfish_at_javadesktop.org: "Is there a mechanism to observe entities for changes?"
In reply to
:
glassfish_at_javadesktop.org: "Is there a mechanism to observe entities for changes?"
Next in thread
:
glassfish_at_javadesktop.org: "Re: Is there a mechanism to observe entities for changes?"
Reply
:
glassfish_at_javadesktop.org: "Re: Is there a mechanism to observe entities for changes?"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]