protected void initialize(){
  existStmt=PreparedStatementFactory.getPreparedStatement(String.format(EXISTENCE_CQL,getTable()),getSession());
  readStmt=PreparedStatementFactory.getPreparedStatement(String.format(READ_CQL,getTable()),getSession());
  createStmt=PreparedStatementFactory.getPreparedStatement(String.format(CREATE_CQL,getTable(),Columns.NAME),getSession());
  deleteStmt=PreparedStatementFactory.getPreparedStatement(String.format(DELETE_CQL,getTable()),getSession());
  markActiveStmt=PreparedStatementFactory.getPreparedStatement(String.format(MARK_ACTIVE_CQL,getTable()),getSession());
  readAllStmt=PreparedStatementFactory.getPreparedStatement(String.format(READ_ALL_CQL,getTable()),getSession());
  readAllCountStmt=PreparedStatementFactory.getPreparedStatement(String.format(READ_ALL_COUNT_CQL,getTable()),getSession());
}

protected void initialize ( ) { existStmt = PreparedStatementFactory . getPreparedStatement ( String . format ( EXISTENCE_CQL , getTable ( ) ) , getSession ( ) ) ; readStmt = PreparedStatementFactory . getPreparedStatement ( String . format ( READ_CQL , getTable ( ) ) , getSession ( ) ) ; createStmt = PreparedStatementFactory . getPreparedStatement ( String . format ( CREATE_CQL , getTable ( ) , Columns . NAME ) , getSession ( ) ) ; deleteStmt = PreparedStatementFactory . getPreparedStatement ( String . format ( DELETE_CQL , getTable ( ) ) , getSession ( ) ) ; markActiveStmt = PreparedStatementFactory . getPreparedStatement ( String . format ( MARK_ACTIVE_CQL , getTable ( ) ) , getSession ( ) ) ; readAllStmt = PreparedStatementFactory . getPreparedStatement ( String . format ( READ_ALL_CQL , getTable ( ) ) , getSession ( ) ) ; readAllCountStmt = PreparedStatementFactory . getPreparedStatement ( String . format ( READ_ALL_COUNT_CQL , getTable ( ) ) , getSession ( ) ) ; }
sets up our prepared statements for this repository .
