Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'hibernate'

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