Advertising
advertising
related pastes to tag 'hibernate'
- 2053745 - Derived Property Tests: java hibernate grails groovy gorm
-
- import org.codehaus.groovy.grails.commons.ApplicationHolder as AH
- /* Purpose: get info on Hibernate's interaction between derived properties and cache */
- /* Finds:
- The derived property is always searchable, as this involved a database search.
- The derived property of an object will always be null if the version that was saved is still in the cache
- How one retrieves the object, get, findBy*, findAllBy*, ... does not matter. It will still use the cached version.
- 1883276 - Hibernate PostgreSQL UUID Suppor: postgresql uuid hibernate postgres dialect
-
- package hypernova.model.persistence;
- import java.io.Serializable;
- import java.sql.PreparedStatement;
- import java.sql.ResultSet;
- import java.sql.SQLException;
- import java.sql.Types;
- import java.util.UUID;
- 1883274 - Hibernate PostgreSQL UUID Suppor: postgresql uuid hibernate postgres dialect
-
- package hypernova.model.persistence;
- import java.sql.Types;
- import org.hibernate.dialect.PostgreSQLDialect;
- public class PostgreSQLDialectUUID extends PostgreSQLDialect {