[jboss-user] [JBoss Seam] - How to addSqlFunction?

mheidt do-not-reply at jboss.com
Thu Oct 11 11:42:58 EDT 2007


I need the week() function in HQL.

If I had a HibernateSessionFactory and its Configuration I knew how to add the Sql function via addSqlFunction.

But as I'm using annotations and ejb3, I'd appreciate any help.

Gavin,
A "not possible" is an answer as well...

The problem is, that I'm storing the hql queries in a database for a recursive tree, so that I try to prevent a mix of hql and native sql...


Kind regards,
Markus Heidt



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

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



More information about the jboss-user mailing list