<!DOCTYPE hibernate-configuration PUBLIC
        &quot;-//Hibernate/Hibernate Configuration DTD 3.0//EN&quot;
       
&quot;http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd&quot;>
<hibernate-configuration>
    
    
    <session-factory>
                <property
name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
                <property
name="hibernate.connection.url">jdbc:mysql://localhost/tapestry</property>
                <property
name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
                <property
name="hibernate.connection.username">root</property>
                <property
name="hibernate.connection.password">mysql</property>
                <property name="hbm2ddl.auto">update</property> 
                <property name="hibernate.show_sql">true</property>
                        <property name="hibernate.format_sql">true</property>
                        
                        
                        <property name="connection.pool_size">1</property>
         
                        
                        <property 
name="current_session_context_class">thread</property>
 
                        
                        <property
name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
         
                        <mapping class="com.example.tutorial.entities.Address"/>
                        
                        
        </session-factory>
</hibernate-configuration>



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/HibernateSessionManager-tp5717841p5717852.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to