Advertisement
Guest User

Untitled

a guest
Sep 12th, 2017
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <persistence-unit name="com.mycompany_classicmodels_jar_1.0-SNAPSHOTPU" transaction-type="RESOURCE_LOCAL">
  4. <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
  5. <class>Entity.Productlines</class>
  6. <class>Entity.Payments</class>
  7. <class>Entity.Orders</class>
  8. <class>Entity.Orderdetails</class>
  9. <class>Entity.Offices</class>
  10. <class>Entity.Employees</class>
  11. <class>Entity.Customers</class>
  12. <class>Entity.Products</class>
  13. <properties>
  14. <property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/classicmodels?zeroDateTimeBehavior=convertToNull"/>
  15. <property name="javax.persistence.jdbc.user" value="root"/>
  16. <property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/>
  17. <property name="javax.persistence.jdbc.password" value="casp6672"/>
  18. </properties>
  19. </persistence-unit>
  20. </persistence>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement