[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBM 2.0 JDBCPersistenceManager - volunteers?
ataylor
do-not-reply at jboss.com
Thu Dec 13 08:56:38 EST 2007
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#4112565
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112565
More information about the jboss-dev-forums
mailing list