Mercurial > hg > IndexMetaContextualizer
comparison src/main/java/META-INF/persistence.xml @ 0:dfce13a5f5f9
nit project!
author | Jorge Urzua <jurzua@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 11 Apr 2013 15:25:26 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:dfce13a5f5f9 |
---|---|
1 <!-- | |
2 <persistence xmlns="http://java.sun.com/xml/ns/persistence" | |
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
4 xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_1_0.xsd" | |
5 version="1.0"> | |
6 | |
7 <persistence-unit name="hello-world" transaction-type="RESOURCE_LOCAL"> | |
8 <provider>org.hibernate.ejb.HibernatePersistence</provider> | |
9 <class>de.mpiwg.indexmeta.bo.Message</class> | |
10 | |
11 <properties> | |
12 <property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/test" /> | |
13 <property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver" /> | |
14 <property name="hibernate.connection.username" value="root" /> | |
15 <property name="hibernate.connection.password" value="admin" /> | |
16 | |
17 </properties> | |
18 | |
19 </persistence-unit> | |
20 </persistence> | |
21 --> | |
22 | |
23 <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0"> | |
24 <persistence-unit name="uno" transaction-type="RESOURCE_LOCAL"> | |
25 <provider>org.hibernate.ejb.HibernatePersistence</provider> | |
26 <class>de.mpiwg.indexmeta.bo.Contextualization</class> | |
27 <properties> | |
28 <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLInnoDBDialect"/> | |
29 <property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/> | |
30 <property name="hibernate.show_sql" value="true"/> | |
31 <property name="hibernate.connection.username" value="root"/> | |
32 <property name="hibernate.connection.password" value="admin"/> | |
33 <property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/test"/> | |
34 <property name="hibernate.max_fetch_depth" value="3"/> | |
35 <property name="hibernate.hbm2ddl.auto" value="create" /> | |
36 </properties> | |
37 </persistence-unit> | |
38 </persistence> |