Commit 6b0cecb9 authored by Sam McCollum's avatar Sam McCollum

sm - add jndi datasource name for icing

parent 8d4f5760
......@@ -3,6 +3,7 @@
<persistence version="2.1" 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">
<!-- A persistence unit is a group of related classes, typically referencing each other and inside one relational database -->
<persistence-unit name="media">
<jta-data-source>java:/icing-media</jta-data-source>
<!-- These are the extra configuration parameters for a specific JPA implementation -->
<properties>
<!-- This property is telling Hibernate (the JPA implementation built into Wildfly and JBoss; google 'hibernate jpa' and 'java jpa' for more info) to automatically create all the proper tables for the @Entity classes in this project and those @Entity classes specified in class directives inside the database or to update the existing database schema to accommodate changes to the classes -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment