3. TransactionManagerLookup Error forum.hibernate.orgHello friends this is my first time using hibernate and i am new to java, i am getting the following error my hibernate.properties file looks like this ** hibernate.connection.username=root hibernate.connection.password= hibernate.connection.url=jdbc:mysql://localhost/test hibernate.connection.driver_class=com.mysql.jdbc.Driver hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect ** 12:45:14,980 INFO Environment:432 - Hibernate 2.1.1 12:45:15,010 INFO Environment:466 - loaded properties from resource hibernate.properties: {hibernate.connection.username=root, hibernate.filename=/WEB-INF/lib/mysql-connector-java-3.0.10-stable-bin.jar, hibernate.connection.password=, hibernate.cglib.use_reflection_optimizer=true, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://localhost/test, hibernate.connection.driver_class=com.mysql.jdbc.Driver} 12:45:15,020 INFO Environment:481 - using ... |
4. "No TransactionManagerLookup specified" exception forum.hibernate.orgHibernate version:3 Name and version of the database you are using: Postgress 7(Hosting), 8 (at home) Here is the hibernate.properties: Code: hibernate.show_sql=false hibernate.use_outer_join=true hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect hibernate.connection.driver_class=org.postgresql.Driver hibernate.connection.url=jdbc:postgresql://localhost/myDB hibernate.connection.username=user hibernate.connection.password=password hibernate.connection.SelectMethod=cursor hibernate.cglib.use_reflection_optimizer=false hibernate.connection.pool_size=20 Here is code next Code: package ru.gubber.test.actions; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.apache.struts.action.ActionForm; import org.hibernate.classic.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; import java.io.File; import java.io.IOException; import java.io.FileInputStream; import java.util.Properties; public ... |
5. No TransactionManagerLookup specified error ----please help forum.hibernate.orghi thanks for your kind reply, yes, I am using the bundled HpersonicSql db from Jboss, but I didn't use the jboss Application server, I am using tomcat to contain my web application. actually I am using the hibernate plugin for Netbeans (My IDE), I configured the hibernate properties when I created the hibernate bean. I just took it that hibernate ... |