1. db2 load performance forum.hibernate.orgWhen i move the app from mysql to db28.1 , i got some problem about performance. I need to load a object with the specified name . it only spent 100 ms in mysql 4.1, but it will spent more than 600ms in db2 8.1 it's too slow to accept it. I try to use directly jdbc ,and get ony 30ms. ... |
2. Load on DB2/400 gets SQL0518 Prepared statement not found forum.hibernate.orgI'm trying to use Hibernate with HyperJaxb2 on a DB2/400 database. I have a simple junit test case that marshals an XML file into an object, stores it in hibernate, then re-loads it, unmarshals to XML & prints the XML. This works fine using the hypersonic db, but if I switch to the DB2/400, it fails in hibernate when trying to ... |
3. Not able to load the DB2 Driver forum.hibernate.orgHi, I am always getting the class not found exception while calling the program from commandline though the classpath has been set explicitly for the library db2java.zip . Properties File ## DB2 hibernate.connection.driver_class COM.ibm.db2.jdbc.app.DB2Driver hibernate.connection.url jdbc:db2:DB2TEST hibernate.connection.username ***** hibernate.connection.password ***** hibernate.dialect org.hibernate.dialect.DB2Dialect Error Message org.hibernate.HibernateException: JDBC Driver class not found: COM.ibm.db2.jdbc. app.DB2Driver at org.hibernate.connection.DriverManagerConnectionProvider.configure(Dr iverManagerConnectionProvider.java:66) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvi der(ConnectionProviderFactory.java:124) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvi der(ConnectionProviderFactory.java:56) ... |