19 lines
1 KiB
XML
19 lines
1 KiB
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">
|
||
|
<hibernate-configuration>
|
||
|
<session-factory>
|
||
|
<property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
|
||
|
<property name="hibernate.connection.driver_class">org.apache.derby.jdbc.ClientDriver</property>
|
||
|
<property name="hibernate.connection.url">jdbc:derby://localhost:1527/sample</property>
|
||
|
<property name="hibernate.connection.username">app</property>
|
||
|
<property name="hibernate.connection.password">app</property>
|
||
|
<mapping resource="DAO/DiscountCode.hbm.xml"/>
|
||
|
<mapping resource="DAO/Product.hbm.xml"/>
|
||
|
<mapping resource="DAO/PurchaseOrder.hbm.xml"/>
|
||
|
<mapping resource="DAO/Manufacturer.hbm.xml"/>
|
||
|
<mapping resource="DAO/MicroMarket.hbm.xml"/>
|
||
|
<mapping resource="DAO/Customer.hbm.xml"/>
|
||
|
<mapping resource="DAO/ProductCode.hbm.xml"/>
|
||
|
</session-factory>
|
||
|
</hibernate-configuration>
|