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

persistence.xml (revision 517)
1 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">	
2
<MAIS FUCK QUOI
3
<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">	
5 4
		<persistence-unit name="MyPUWithHSQL" transaction-type="RESOURCE_LOCAL">
6 5
		<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
7 6
		
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>
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 12
		<class>org.txm.functions.dictionary_jpa.EntryProperty</class>
13
		<class>org.txm.functions.dictionary_jpa.EntryPropertyType</class>-->
13
		<class>org.txm.functions.dictionary_jpa.EntryPropertyType</class>
14
-->
14 15
		<properties>
15 16
			<property name="javax.persistence.jdbc.driver" value="org.hsqldb.jdbcDriver"/>
16 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"/>
17 18
			<property name="javax.persistence.jdbc.user" value="SA"/>
18 19
			
19 20
			<property name="eclipselink.logging.parameters" value="false"/>
20
 			<property name="eclipselink.logging.level" value="OFF" />
21
 			<property name="eclipselink.logging.level" value="ON" />
21 22
 			
22
<!-- 			<property name="eclipselink.jdbc.read-connections.min" value="1" />
23
<!-- 		
24
			<property name="eclipselink.jdbc.read-connections.min" value="1" />
23 25
			<property name="eclipselink.jdbc.write-connections.min" value="1" />
24 26
			<property name="eclipselink.jdbc.batch-writing" value="JDBC" />
25
  -->
26
			<!-- Logging 
27
-->
28

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

Also available in: Unified diff