when i run first application of hibernate through hibernate document at:
http://www.hibernate.org/hib_docs/v3/reference/en/html/
I get this error : Initial SessionFactory creation failed.org.hibernate.HibernateException: Could not instantiate TransactionManagerLookup.
This is my hibernate.cfg.xml :
///////////////////////////////////////////
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<!-- Generated by MyEclipse Hibernate Tools. -->
<hibernate-configuration>
<session-factory>
<property name="myeclipse.connection.profile">test</property>
<property name="connection.url">
jdbc:mysql://localhost:3306/test1
</property>
<property name="connection.username">root</property>
<property name="connection.password">root</property>
<property name="connection.driver_class">
com.mysql.jdbc.Driver
</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="transaction.factory_class">
org.hibernate.transaction.JDBCTransactionFactory
</property>
<property name="connection.pool_size">1</property>
<!-- Enable Hibernate's automatic session context management -->
<property name="current_session_context_class">thread</property>
<!-- Disable the second-level cache -->
<property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
<!-- Echo all executed SQL to stdout -->
<property name="show_sql">true</property>
<!-- Drop and re-create the database schema on startup -->
<property name="transaction.manager_lookup_class">
org.hibernate.transaction.TransactionManagerLookup
</property>
<mapping resource="com/dto/Event.hbm.xml"></mapping>
</session-factory>
</hibernate-configuration>
//////////////////////////////////////////
Please help me to sovle this problem or tell me what cause this error, thank you so much for your help.