<?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="com.ror.res">
		<provider>org.hibernate.ejb.HibernatePersistence</provider>
		<class>com.ror.res.entity.Person</class>
		<properties>
            <property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/resdb"/>
            <property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/>
            <property name="hibernate.connection.username" value="resdbapp"/>
            <property name="hibernate.connection.password" value="YOUR-APP-PASSWORD"/>
            <property name="hibernate.archive.autodetection" value="class"/>
            <property name="hibernate.show_sql" value="true"/>
            <property name="hibernate.format_sql" value="true"/>
            <property name="hbm2ddl.auto" value="update"/>
		</properties>
	</persistence-unit>
</persistence>                                                       

Add REST and Hibernate support
Add REST and Hibernate support
