I did some more digging and realized that hibernate was using scope_identity. Since the
table has a trigger scope_identity returns null. I still don't know what to do about
it though since I can't change the database due to legacy applications though :(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972179#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...