Search in sources :

Example 1 with GenericStatement

use of org.apache.derby.impl.sql.GenericStatement in project derby by apache.

the class CachedStatement method setIdentity.

/**
 */
public Cacheable setIdentity(Object key) {
    identity = key;
    ps = new GenericPreparedStatement((GenericStatement) key);
    ps.setCacheHolder(this);
    return this;
}
Also used : GenericStatement(org.apache.derby.impl.sql.GenericStatement) GenericPreparedStatement(org.apache.derby.impl.sql.GenericPreparedStatement)

Aggregations

GenericPreparedStatement (org.apache.derby.impl.sql.GenericPreparedStatement)1 GenericStatement (org.apache.derby.impl.sql.GenericStatement)1