package org.castor.cpa.persistence.sql.driver;

import org.exolab.castor.persist.spi.PersistenceFactory;

/**
  *  specialized generic driver for InstantDB database.
  *
  *  @author I. Burak Ozyurt
  *  @version 1.0
  */
public class InstantDBQueryExpression extends JDBCQueryExpression {
    public InstantDBQueryExpression(final PersistenceFactory factory) {
        super(factory);
    }

    public String getStatement(final boolean lock) {
        // Do not use FOR UPDATE to lock query.
        return getStandardStatement(lock, false).toString();
    }
}