camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From syadav <b.srisai...@gmail.com>
Subject Re: Camel-CXF in tomee
Date Sun, 26 Feb 2017 14:20:08 GMT
Below is the persistence.xml. could you help me what is the problem

<?xml version="1.0" encoding="UTF-8"?>

<persistence 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"
	version="2.1">

	<persistence-unit name="primary" transaction-type="JTA">
		
		<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
		<class>xxxxxxxxx</class>
		
		<properties>

			
			<property name="javax.persistence.jdbc.driver"
value="org.postgresql.Driver" />
			<property name="javax.persistence.jdbc.url"
				value="jdbc:postgresql://localhost:5432/TestDB" />
			<property name="javax.persistence.jdbc.user" value="postgres" />
			<property name="javax.persistence.jdbc.password" value="postgres" />
			<property name="hibernate.transaction.jta.platform"
				value="org.hibernate.service.jta.platform.internal.SunOneJtaPlatform" />
			<property name="javax.persistence.schema-generation.database.action"
				value="none" />
			<property name="javax.persistence.schema-generation.drop-script-source"
				value="META-INF/drop.sql" />
			<property name="javax.persistence.schema-generation.create-script-source"
				value="META-INF/create.sql" />

			
			
			
			
			<property name="hibernate.dialect"
value="org.hibernate.dialect.PostgreSQLDialect" />
			<property name="show_sql" value="true" />
			<property name="hibernate.default_schema" value="schemaname" />

			
			<property name="hibernate.c3p0.min_size" value="5" />
			<property name="hibernate.c3p0.max_size" value="20" />
			<property name="hibernate.c3p0.timeout" value="500" />
			<property name="hibernate.c3p0.max_statements" value="50" />
			<property name="hibernate.c3p0.idle_test_period" value="2000" />
		</properties>
	</persistence-unit>

</persistence>




--
View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-in-tomee-tp5794355p5794478.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message