16 lines
763 B
XML
16 lines
763 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<persistence version="2.0" 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">
|
|
|
|
<persistence-unit name="redbbs" transaction-type="RESOURCE_LOCAL">
|
|
<shared-cache-mode>ALL</shared-cache-mode>
|
|
<properties>
|
|
<property name="javax.persistence.jdbc.url" value="jdbc:mysql://127.0.0.1:3306"/>
|
|
<property name="javax.persistence.jdbc.user" value="root"/>
|
|
<property name="javax.persistence.jdbc.password" value="123456"/>
|
|
</properties>
|
|
</persistence-unit>
|
|
|
|
</persistence>
|