Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version='1.0' encoding='utf-8'?>
- <!--
- ~ Hibernate, Relational Persistence for Idiomatic Java
- ~
- ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
- ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
- -->
- <!DOCTYPE hibernate-configuration PUBLIC
- "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
- "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
- <hibernate-configuration>
- <session-factory>
- <property name="hibernate.id.new_generator_mapping">false</property>
- <!-- Database connection settings -->
- <property name="hibernate.connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
- <property name="hibernate.connection.url">jdbc:sqlserver://DESKTOP-AAOK8UK;databaseName=tacodel;integratedSecurity=true</property>
- <!-- JDBC connection pool (use the built-in) -->
- <property name="hibernate.connection.pool_size">100</property>
- <!-- SQL dialect -->
- <property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</property>
- <!-- Echo all executed SQL to stdout -->
- <property name="hibernate.show_sql">true</property>
- <!-- Entity classes -->
- <mapping class="nl.fhict.i400433.tacodel.test.Person"/>
- <mapping class="nl.fhict.i400433.tacodel.test.Item"/>
- </session-factory>
- </hibernate-configuration>
Advertisement
Add Comment
Please, Sign In to add comment