Example 15 - Destroying a Bid
    public void EMPejbRemove( Connection dbConn, Statement dbStmt) 
    throws SQLException 
    {
        BidPK pk = (BidPK) fEntityContext.getPrimaryKey();
    
        String delSpec = "delete from BidTbl where ";
        delSpec += "ownerId=" + SQLForm( pk.fOwnerId ) + " AND ";
        delSpec += "ownedId=" + SQLForm( pk.fOwnedId );
    
        dbStmt.executeUpdate( delSpec );
    }
            

Next Slide >>