1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
JEE_Project/build/web/WEB-INF/classes/hibernate.cfg.xml

20 lines
1.1 KiB
XML
Raw Normal View History

2022-06-27 21:14:35 +02:00
<?xml version="1.0" encoding="UTF-8"?>
2022-06-29 20:33:43 +02:00
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
2022-06-27 21:14:35 +02:00
<hibernate-configuration>
2022-06-29 20:33:43 +02:00
<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>
2022-06-27 21:14:35 +02:00
</hibernate-configuration>