Read the documentation again.
H2 triggers are java code, so when you implement an H2 trigger, you will
get the record as a parameter.
On 2013-08-06 16:04, Ranjith Koduri wrote:
yea I understand the trigger part, but I'm looking to get the newly
inserted record in a java class. do you have any idea how a
databaselistener is used in H2?
Thanks & Regards,
*Ranjith*
MS-MIS, Univ Of Illinois at Chicago.
On Tue, Aug 6, 2013 at 2:07 AM, Noel Grandin <[email protected]
<mailto:[email protected]>> wrote:
you could use a trigger to catch the insert, but getting it into a
JSF thingy is obviously not something H2 would be involved in.
http://h2database.com/html/features.html#triggers
On 2013-08-05 23:15, Fiendfyre wrote:
I've a requirement where in a H2 database insert is to be
noted to a JSF view scoped managed bean class which has to get
the newly inserted record from database and has to push the
record over a websocket channel. Is it possible to do this
using H2 ?
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.