Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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="efactory">
- <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
- <description>Configuración de JPA para el acceso a la base de datos</description>
- <class>com.apiux.entities.PersonaTest</class>
- <properties>
- <property name="hibernate.connection.url" value="jdbc:postgresql://localhost:5432/apiux" />
- <property name="hibernate.connection.driver_class" value="org.postgresql.Driver" />
- <property name="hibernate.connection.username" value="postgres" />
- <property name="hibernate.connection.password" value="apiux" />
- <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect" />
- </properties>
- </persistence-unit>
- </persistence>
Add Comment
Please, Sign In to add comment