Statistics
| Revision:

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

History | View | Annotate | Download (2.1 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<MAIS FUCK 
3
<persistence ="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">        
4
                <persistence-unit name="MyPUWithHSQL" transaction-type="RESOURCE_LOCAL">
5
                <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
6
                
7
                <class>org.txm.annotation.core.Annotation</class>
8
                <class>org.txm.annotation.core.repository.AnnotationType</class>
9
                <class>org.txm.annotation.core.repository.TypedValue</class>
10
<!--        
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
-->
15
                <properties>
16
                        <property name="javax.persistence.jdbc.driver" value="org.hsqldb.jdbcDriver"/>
17
                        <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"/>
18
                        <property name="javax.persistence.jdbc.user" value="SA"/>
19
                        
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>