Guest User

Untitled

a guest
Jan 9th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3.  
  4. <persistence-unit name="efactory">
  5. <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
  6. <description>Configuración de JPA para el acceso a la base de datos</description>
  7. <class>com.apiux.entities.PersonaTest</class>
  8. <properties>
  9. <property name="hibernate.connection.url" value="jdbc:postgresql://localhost:5432/apiux" />
  10. <property name="hibernate.connection.driver_class" value="org.postgresql.Driver" />
  11. <property name="hibernate.connection.username" value="postgres" />
  12. <property name="hibernate.connection.password" value="apiux" />
  13. <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect" />
  14. </properties>
  15. </persistence-unit>
  16.  
  17. </persistence>
Add Comment
Please, Sign In to add comment