public InsertGeneratedIdentifierDelegate getInsertGeneratedIdentifierDelegate( PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled) throws HibernateException { if ( isGetGeneratedKeysEnabled ) { return new GetGeneratedKeysDelegate( persister, dialect ); } else if ( dialect.supportsInsertSelectIdentity() ) { return new InsertSelectDelegate( persister, dialect ); } else { return new BasicDelegate( persister, dialect ); } }
public InsertGeneratedIdentifierDelegate getInsertGeneratedIdentifierDelegate( PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled) throws HibernateException { if (isGetGeneratedKeysEnabled) { return new PortofinoGetGeneratedKeysDelegate(persister, dialect); } else if (dialect.supportsInsertSelectIdentity()) { return new InsertSelectDelegate(persister, dialect); } else { return new BasicDelegate(persister, dialect); } }
public InsertGeneratedIdentifierDelegate getInsertGeneratedIdentifierDelegate( PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled) throws HibernateException { return new Delegate( persister, dialect, getSequenceName() ); }
public InsertGeneratedIdentifierDelegate getInsertGeneratedIdentifierDelegate( PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled) throws HibernateException;
public InsertGeneratedIdentifierDelegate getInsertGeneratedIdentifierDelegate( PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled) throws HibernateException { return new SelectGeneratorDelegate( persister, dialect, uniqueKeyPropertyName ); }