Rev 225 | Rev 227 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 225 | Rev 226 | ||
|---|---|---|---|
| Line 7... | Line 7... | ||
| 7 | 7 | ||
| 8 | <persistence-unit name="sisPU" transaction-type="RESOURCE_LOCAL">
|
8 | <persistence-unit name="sisPU" transaction-type="RESOURCE_LOCAL">
|
| 9 | <!-- <provider>org.hibernate.ejb.HibernatePersistence</provider> -->
|
9 | <!-- <provider>org.hibernate.ejb.HibernatePersistence</provider> -->
|
| 10 | <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> |
10 | <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> |
| 11 | <jta-data-source>java:comp/env/jdbc/sisEC</jta-data-source> |
11 | <jta-data-source>java:comp/env/jdbc/sisEC</jta-data-source> |
| - | 12 | ||
| - | 13 | <class>br.com.ec.domain.modal.Usuario</class> |
|
| 12 | 14 | ||
| 13 | <properties>
|
15 | <properties>
|
| 14 | <!-- propriedades do hibernate -->
|
16 | <!-- propriedades do hibernate -->
|
| 15 | <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect" />
|
17 | <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect" />
|
| 16 | <property name="hibernate.connection.driver_class" value="org.postgresql.Driver" />
|
18 | <property name="hibernate.connection.driver_class" value="org.postgresql.Driver" />
|