question: static void removeFromDb ( Connection conn , Object key ) throws SQLException { PreparedStatement stmt = null ; try { stmt = conn . prepareStatement ( "delete from CACHE where k = ?" ) ; stmt . setBinaryStream ( 1 , new ByteArrayInputStream ( H2CacheStore . serialize ( key ) ) ) ; stmt . executeUpdate ( ) ; } finally { U . closeQuiet ( stmt ) ; } }
target:  Removes given key and its value from H2.