I think what Tim's trying to say is that since we dont have a domain model that maps
to our database we cant just annotate the message and messageref objects to be able to
save them direct via a hibernate session. i.e. look at the messageref object and compare
it with the database table, it has other fields such as channell_id and transaction_id.
For this to work using Hibernate normally you'd have to add a relationship between
messageref object and the destination object and the transaction object which wouldn't
make sense.
It is possible to access the dialect direct, but its not well documented and i'm not
sure if its usable. maybe we need a rethink, how about writing some ansii standard sql and
just using JDBC, our schema isnt very complex and we should be able to do that?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112565#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...