Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
   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_1_0.xsd"
   version="1.0">

	<persistence-unit name="mobicents-xdm-core-datasource-pu" transaction-type="JTA">
		
		<jta-data-source>java:/DefaultDS</jta-data-source>
				
		<class>org.mobicents.slee.xdm.server.datasource.jpa.Document</class>
		
		<properties>
			<property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect" />
			<!-- 
			<property name="hibernate.show_sql" value="true"/>
			<property name="hibernate.format_sql" value="true"/>
			<property name="hibernate.jdbc.batch_size" value="0"/> 
			-->
			<property name="hibernate.hbm2ddl.auto" value="update"/>
			<property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
		</properties>
		
	</persistence-unit>
	
</persistence>
New to GrepCode? Check out our FAQ X