Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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">
- <hibernate-configuration>
- <session-factory>
- <!--<property name="hbm2ddl.auto">update</property>
- <property name="connection.url">jdbc:mysql://s9.thehost.com.ua/Autopark</property>
- <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
- <property name="connection.username">Andyshon</property>
- <property name="connection.password">zfk29jd2rfEsdEF</property>>
- <property name="connection.pool_size">1</property>
- <property name="current_session_context_class">thread</property>
- <property name="show_sql">true</property>
- <property name="dialect">org.hibernate.dialect.MySQL5Dialect</property>
- <mapping resource="Bus.hbm.xml"/>
- <mapping resource="Driver.hbm.xml"/>
- <mapping resource="Route.hbm.xml"/>-->
- <property name="hbm2ddl.auto">update</property>
- <!-- Drop and re-create the database schema on startup -->
- <!--<property name="hbm2ddl.auto">create</property>-->
- <property name="connection.pool_size">1</property>
- <property name="current_session_context_class">thread</property>
- <property name="show_sql">false</property>
- <property name="dialect">org.hibernate.dialect.MySQL5Dialect</property>
- <property name="connection.url">jdbc:mysql://s9.thehost.com.ua/Autopark2</property>
- <property name="connection.username">Andyshon</property>
- <property name="connection.password">zfk29jd2rfEsdEF</property>
- <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
- <!--<property name="hibernate.enable_lazy_load_no_trans">true</property>-->
- <mapping resource="Bus.hbm.xml"/>
- <mapping resource="Driver.hbm.xml"/>
- <mapping resource="Route.hbm.xml"/>
- </session-factory>
- </hibernate-configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement