ChatServer/main/resources/META-INF/persistence.xml

12 lines
625 B
XML
Raw Normal View History

2016-07-18 12:36:33 +00:00
<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_2_0.xsd"
version="2.0">
<persistence-unit name="ChatServerPU">
<properties>
<property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.EmbeddedDriver" />
2016-07-19 10:45:42 +00:00
<property name="javax.persistence.jdbc.url" value="jdbc:derby:memory:chatserver;create=true" /><property
name="hibernate.hbm2ddl.auto" value="update"/>
2016-07-18 12:36:33 +00:00
</properties>
</persistence-unit>
</persistence>