Move Envoy Server Standalone to server/ subdirectory
This commit is contained in:
		
							
								
								
									
										27
									
								
								server/src/main/resources/META-INF/persistence.xml
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										27
									
								
								server/src/main/resources/META-INF/persistence.xml
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
<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="envoy"
 | 
			
		||||
		transaction-type="RESOURCE_LOCAL">
 | 
			
		||||
		<properties>
 | 
			
		||||
		
 | 
			
		||||
			<!-- JDBC -->
 | 
			
		||||
			<property name="javax.persistence.jdbc.driver"
 | 
			
		||||
				value="org.postgresql.Driver" />
 | 
			
		||||
			<property name="javax.persistence.jdbc.url"
 | 
			
		||||
				value="jdbc:postgresql://localhost/envoy" />
 | 
			
		||||
			<property name="javax.persistence.jdbc.user" value="envoy" />
 | 
			
		||||
			<property name="javax.persistence.jdbc.password"
 | 
			
		||||
				value="envoy" />
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
			<!-- Hibernate -->
 | 
			
		||||
			<property name="hibernate.dialect"
 | 
			
		||||
				value="org.hibernate.dialect.PostgreSQL95Dialect" />
 | 
			
		||||
			<property name="hibernate.hbm2ddl.auto" value="update" />
 | 
			
		||||
 | 
			
		||||
		</properties>
 | 
			
		||||
	</persistence-unit>
 | 
			
		||||
</persistence>
 | 
			
		||||
		Reference in New Issue
	
	Block a user