I found the problem was caused by there is one-to-many relationship defined at another
entity to Payment, which caused a foreign key created at Payment.
One point is the exception message is not precise and doesn't make much sense.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971142#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...