Statistics
| Revision:

root / tmp / org.txm.annotation.kr.core / META-INF / persistence.xml @ 1617

History | View | Annotate | Download (2.2 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">        
3
                <persistence-unit name="HSQLKRPERSISTENCE" transaction-type="RESOURCE_LOCAL">
4
                <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
5
                
6
                <class>org.txm.annotation.kr.core.Annotation</class>
7
                <class>org.txm.annotation.kr.core.repository.AnnotationType</class>
8
                <class>org.txm.annotation.kr.core.repository.TypedValue</class>
9
<!--        
10
                <class>org.txm.functions.dictionary_jpa.EntryId</class>
11
                <class>org.txm.functions.dictionary_jpa.EntryProperty</class>
12
                <class>org.txm.functions.dictionary_jpa.EntryPropertyType</class>
13
-->
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.level" value="OFF"/>
20
<!--                         <property name="eclipselink.logging.parameters" value="false"/>
21
                         <property name="eclipselink.logging.level" value="ON" />
22
                         
23
                
24
                        <property name="eclipselink.jdbc.read-connections.min" value="1" />
25
                        <property name="eclipselink.jdbc.write-connections.min" value="1" />
26
                        <property name="eclipselink.jdbc.batch-writing" value="JDBC" />
27
-->
28

    
29
<!-- Logging 
30
                        <property name="eclipselink.logging.file" value="output.log"/>
31
                        <property name="eclipselink.logging.logger" value="JavaLogger"/>
32
-->
33
                
34
<!--                 
35
                        <property name="eclipselink.logging.level" value="FINE" />
36
                        <property name="eclipselink.logging.timestamp" value="false" />
37
                        <property name="eclipselink.logging.session" value="false" />
38
                        <property name="eclipselink.logging.thread" value="false" /> 
39
-->
40
                        
41
                        <!-- <property name="eclipselink.ddl-generation" value="drop-and-create-tables"/> -->
42
                        <!-- <property name="eclipselink.ddl-generation.output-mode" value="database"/> -->
43
                </properties>
44
 
45
        </persistence-unit>
46
</persistence>