Use constants as query names, joined inheritance for contacts
This commit is contained in:
		@@ -3,25 +3,25 @@
 | 
			
		||||
	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="envoy"
 | 
			
		||||
		transaction-type="RESOURCE_LOCAL">
 | 
			
		||||
 | 
			
		||||
		<properties>
 | 
			
		||||
		
 | 
			
		||||
			<!-- JDBC -->
 | 
			
		||||
			<property name="javax.persistence.jdbc.driver"
 | 
			
		||||
				value="org.postgresql.Driver" /> <!-- DB Driver -->
 | 
			
		||||
				value="org.postgresql.Driver" />
 | 
			
		||||
			<property name="javax.persistence.jdbc.url"
 | 
			
		||||
				value="jdbc:postgresql://localhost/envoy" /> <!-- BD Mane -->
 | 
			
		||||
			<property name="javax.persistence.jdbc.user" value="envoy" /> <!-- DB User -->
 | 
			
		||||
				value="jdbc:postgresql://localhost/envoy" />
 | 
			
		||||
			<property name="javax.persistence.jdbc.user" value="envoy" />
 | 
			
		||||
			<property name="javax.persistence.jdbc.password"
 | 
			
		||||
				value="envoy" /> <!-- DB Password -->
 | 
			
		||||
				value="envoy" />
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
			<!-- Hibernate -->
 | 
			
		||||
			<property name="hibernate.dialect"
 | 
			
		||||
				value="org.hibernate.dialect.PostgreSQL95Dialect" /> <!-- DB Dialect -->
 | 
			
		||||
			<property name="hibernate.hbm2ddl.auto" value="update" /> <!-- create / create-drop / update -->
 | 
			
		||||
				value="org.hibernate.dialect.PostgreSQL95Dialect" />
 | 
			
		||||
			<property name="hibernate.hbm2ddl.auto" value="update" />
 | 
			
		||||
 | 
			
		||||
		</properties>
 | 
			
		||||
 | 
			
		||||
	</persistence-unit>
 | 
			
		||||
 | 
			
		||||
</persistence>
 | 
			
		||||
		Reference in New Issue
	
	Block a user