[jboss-user] [EJB 3.0] - Re: How can we use oracle hints in EJB (3.0)?

max.andersen@jboss.com do-not-reply at jboss.com
Fri Apr 20 10:50:56 EDT 2007


Does openjpa claim to support it ?

Since EJBQL != SQL you would need to mutate the generated sql. In hibernate you can do that by:

implement Interceptor.onPrepareStatement(String sql)

or

write native queries directly instead (use @NamedSQLQuery and/or <sql-query>)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039301#4039301

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039301



More information about the jboss-user mailing list