Ask this question in the hibernate jpa forum
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094496#4094496
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094496
___
jboss-user
I applied the following patch for
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1787
to add date_trunc for the PostgreSQL dialect.
It works for me, but I have to patch hibernate every time I upgrade JBoss AS.
View the original post :
http://www.jboss.com/index.html?module=bb&o