public PreparedStatement getDeleteStatement ( ClassDescriptor cld ) throws PersistenceBrokerSQLException , PersistenceBrokerException { try { return cld . getStatementsForClass ( m_conMan ) . getDeleteStmt ( m_conMan . getConnection ( ) ) ; } catch ( SQLException e ) { throw new PersistenceBrokerSQLException ( "Could not build statement ask for" , e ) ; } catch ( LookupException e ) { throw new PersistenceBrokerException ( "Used ConnectionManager instance could not obtain a connection" , e ) ; } }
return a prepared DELETE Statement fitting for the given ClassDescriptor