Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <persistence 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"
- version="2.1">
- <persistence-unit name="FinanceiroPU" transaction-type="RESOURCE_LOCAL">
- <provider>org.hibernate.ejb.HibernatePersistence</provider>
- <class>com.ufop.financeio.model.Lancamento</class>
- <class>com.ufop.financeio.model.Pessoa</class>
- <properties>
- <property name="hibernate.connection.url" value="jdbc:postgresql://localhost:5432/financeiro" />
- <property name="hibernate.connection.driver_class" value="org.postgresql.Driver" />
- <property name="hibernate.connection.username" value="postgres" />
- <property name="hibernate.connection.password" value="postgre" />
- <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect" />
- <property name="hibernate.show_sql" value="true" />
- <property name="hibernate.format_sql" value="true" />
- <property name="hibernate.hbm2ddl.auto" value="update" />
- </properties>
- </persistence-unit>
- </persistence>
Add Comment
Please, Sign In to add comment