Just got this working (and now see that raja has also posted the answer).
I worked out that the 'read' is an invalid name for a MySql column and so added
the @Column(name="viewed") attribute to the Message.read property.
Thanks
:-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964287#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...