[jboss-user] [JBoss Seam] - How to intercept EM creation to run custom SQL?
ASavitsky
do-not-reply at jboss.com
Wed Oct 17 11:39:08 EDT 2007
We need to be able to run some custom SQL (a stored procedure call, actually) every time a connection is opened to the database, and the SQL in question would be taken from an HttpSession-scoped object - does Seam provide a way to accomplish that, using events/interceptors or such?
Thanks,
Alex
P.S. The gory details: we're planning to use Oracle Workspace Manager in our app, and the SQL call in question would be either GotoDate or GotoWorkspace SP call, to control the point in time at which the DB session would see the data...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096151#4096151
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096151
More information about the jboss-user
mailing list