Revision 2396 tmp/org.txm.annotation.kr.core/META-INF/persistence.xml

persistence.xml (revision 2396)
1 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">
2
<persistence version="2.1"
3
	xmlns="http://xmlns.jcp.org/xml/ns/persistence"
4
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
	xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
6
	<persistence-unit name="HSQLKRPERSISTENCE"
7
		transaction-type="RESOURCE_LOCAL">
4 8
		<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
5
		
9

  
6 10
		<class>org.txm.annotation.kr.core.Annotation</class>
7 11
		<class>org.txm.annotation.kr.core.repository.AnnotationType</class>
8 12
		<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
-->
13
		<!-- <class>org.txm.functions.dictionary_jpa.EntryId</class> <class>org.txm.functions.dictionary_jpa.EntryProperty</class> 
14
			<class>org.txm.functions.dictionary_jpa.EntryPropertyType</class> -->
14 15
		<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
<!-- 		
21
			<property name="eclipselink.jdbc.read-connections.min" value="1" />
22
			<property name="eclipselink.jdbc.write-connections.min" value="1" />
23
			<property name="eclipselink.jdbc.batch-writing" value="JDBC" />
24
-->
16
			<property name="javax.persistence.jdbc.driver"
17
				value="org.hsqldb.jdbcDriver" />
18
			<property name="javax.persistence.jdbc.url"
19
				value="jdbc:hsqldb:file:txmdb/db;shutdown=true;hsqldb.write_delay=false;hsqldb.lock_file=false;hsqldb.applog=0;hsqldb.sqllog=0" />
20
			<property name="javax.persistence.jdbc.user" value="SA" />
25 21

  
26
<!-- Logging 
27
			<property name="eclipselink.logging.file" value="output.log"/>
28
			<property name="eclipselink.logging.logger" value="JavaLogger"/>
22
			<property name="eclipselink.logging.level" value="OFF" />
23
			<!-- <property name="eclipselink.jdbc.read-connections.min" value="1" 
24
				/> <property name="eclipselink.jdbc.write-connections.min" value="1" /> <property 
25
				name="eclipselink.jdbc.batch-writing" value="JDBC" /> -->
29 26

  
30
			<property name="eclipselink.logging.parameters" value="false"/>
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
			
27
			<!-- Logging <property name="eclipselink.logging.file" value="output.log"/> 
28
				<property name="eclipselink.logging.logger" value="JavaLogger"/> <property 
29
				name="eclipselink.logging.parameters" value="false"/> <property name="eclipselink.logging.level" 
30
				value="FINE" /> <property name="eclipselink.logging.timestamp" value="false" 
31
				/> <property name="eclipselink.logging.session" value="false" /> <property 
32
				name="eclipselink.logging.thread" value="false" /> -->
33

  
37 34
			<!-- <property name="eclipselink.ddl-generation" value="drop-and-create-tables"/> -->
38 35
			<!-- <property name="eclipselink.ddl-generation.output-mode" value="database"/> -->
39 36
		</properties>
40
 
37

  
41 38
	</persistence-unit>
42 39
</persistence>

Also available in: Unified diff