[jboss-dev-forums] [Design of JBoss jBPM] - Re: [sim] problems with hibernate queries and dates
camunda
do-not-reply at jboss.com
Tue Nov 20 05:44:45 EST 2007
The Hibernate API is almost the same, but we need another command anyway. If we go for compatibility the Command has to calculate the standard derivation for itself for instance (means: get all log objects from database!), the speed optimized version can delegate this calculation to the database.
So I think we can do the following:
1.) Provide 2 Commands, one using the basic HQL's, one using the native queries
2.) Provide 1 basic query.hbm.xml and 2 natives (mySQL & Oracle).
So in default, you add the basic query.hbm.xml and use the basic command. Speed optimization means using a different command and configure the right query.hbm.xml. Or maybe write an own one for the database you need.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106304#4106304
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106304
More information about the jboss-dev-forums
mailing list