For those in the same shoes, I came into conclusion.
It's either a bug on the hibernate module or a bug on the JDBC driver provided by
Microsoft.
I changed my JDBC driver to JTDS from sourceforge and it worked just fine.
Finally whew!
I suggested this case to be noted in documentation.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970273#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...