Statistics
| Revision:

root / tmp / org.txm.core / META-INF / persistence.xml @ 187

History | View | Annotate | Download (2.1 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<persistence version="2.0" 
3
        xmlns="http://java.sun.com/xml/ns/persistence" 
4
        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_2_0.xsd">        
5
                <persistence-unit name="MyPUWithHSQL" transaction-type="RESOURCE_LOCAL">
6
                <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
7
                
8
                <class>org.txm.annotation.Annotation</class>
9
                <class>org.txm.annotation.repository.AnnotationType</class>
10
                <class>org.txm.annotation.repository.TypedValue</class>
11
<!--        <class>org.txm.functions.dictionary_jpa.EntryId</class>
12
                <class>org.txm.functions.dictionary_jpa.EntryProperty</class>
13
                <class>org.txm.functions.dictionary_jpa.EntryPropertyType</class>-->
14
                <properties>
15
                        <property name="javax.persistence.jdbc.driver" value="org.hsqldb.jdbcDriver"/>
16
                        <property name="javax.persistence.jdbc.url" value="jdbc:hsqldb:file:txmdb/db;shutdown=true;hsqldb.write_delay=false;hsqldb.lock_file=false;hsqldb.applog=0;hsqldb.sqllog=0"/>
17
                        <property name="javax.persistence.jdbc.user" value="SA"/>
18
                        
19
                        <property name="eclipselink.logging.parameters" value="false"/>
20
                         <property name="eclipselink.logging.level" value="OFF" />
21
                         
22
<!--                         <property name="eclipselink.jdbc.read-connections.min" value="1" />
23
                        <property name="eclipselink.jdbc.write-connections.min" value="1" />
24
                        <property name="eclipselink.jdbc.batch-writing" value="JDBC" />
25
  -->
26
                        <!-- Logging 
27
                        <property name="eclipselink.logging.file" value="output.log"/>
28
                        <property name="eclipselink.logging.logger" value="JavaLogger"/>
29
                        -->
30
                
31
<!--                 <property name="eclipselink.logging.level" value="FINE" />
32
                        <property name="eclipselink.logging.timestamp" value="false" />
33
                        <property name="eclipselink.logging.session" value="false" />
34
                        <property name="eclipselink.logging.thread" value="false" /> -->
35
                        
36
                        <!-- <property name="eclipselink.ddl-generation" value="drop-and-create-tables"/> -->
37
                        <!-- <property name="eclipselink.ddl-generation.output-mode" value="database"/> -->
38
                </properties>
39
 
40
        </persistence-unit>
41
</persistence>