|
indvdum@5
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
indvdum@5
|
2 |
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
|
|
indvdum@5
|
3 |
version="1.0">
|
|
indvdum@5
|
4 |
<persistence-unit name="mywork">
|
|
indvdum@5
|
5 |
<provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
|
|
indvdum@5
|
6 |
|
|
indvdum@5
|
7 |
<class>ru.indvdum.mywork.openjpa.model.Day</class>
|
|
indvdum@5
|
8 |
|
|
indvdum@5
|
9 |
<properties>
|
|
indvdum@5
|
10 |
<property name="openjpa.ConnectionPassword" value="1"/>
|
|
indvdum@5
|
11 |
<property name="openjpa.ConnectionDriverName" value="oracle.jdbc.OracleDriver"/>
|
|
indvdum@5
|
12 |
<property name="openjpa.ConnectionUserName" value="d_mywork"/>
|
|
indvdum@5
|
13 |
<property name="openjpa.ConnectionURL" value="jdbc:oracle:thin:@minidev:1521:ora"/>
|
|
indvdum@5
|
14 |
<property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>
|
|
indvdum@5
|
15 |
</properties>
|
|
indvdum@5
|
16 |
</persistence-unit>
|
|
indvdum@5
|
17 |
</persistence>
|