Commit cf110fa748b58f3a1102897eb49603565825b583
1 parent
872fcf45
Ajout fichier hibernate.cfg.xml
Showing
1 changed file
with
21 additions
and
0 deletions
Show diff stats
project/server_core/src/main/resources/hibernate.cfg.xml
0 → 100644
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<!DOCTYPE hibernate-configuration SYSTEM | |
3 | + "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"> | |
4 | + | |
5 | +<hibernate-configuration> | |
6 | + <session-factory> | |
7 | + <property name="connection.driver_class">org.postgresql.Driver</property> | |
8 | + <property name="connection.url">jdbc:postgresql://localhost:5432/LO53_BDD</property> | |
9 | + <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property> | |
10 | + <property name="connection.username">lo53_user</property> | |
11 | + <property name="connection.password">lo53</property> | |
12 | + <property name="connection.pool_size">1</property> | |
13 | + <property name="hibernate.hbm2ddl.auto">create</property> | |
14 | + | |
15 | + <mapping class="repository.AccessPoint"/> | |
16 | + <mapping class="repository.Location"/> | |
17 | + <mapping class="repository.Map"/> | |
18 | + <mapping class="repository.RssiRecord"/> | |
19 | + <mapping class="repository.TempRssi"/> | |
20 | + </session-factory> | |
21 | +</hibernate-configuration> | |
0 | 22 | \ No newline at end of file | ... | ... |