public static void deletePropertiesAndMarker ( BeanId id ) { Query query = getEmOrFail ( ) . createNamedQuery ( DELETE_ALL_PROPERTIES_FOR_BEANID_NAME ) ; query . setParameter ( 1 , id . getInstanceId ( ) ) ; query . setParameter ( 2 , id . getSchemaName ( ) ) ; // empty will marker will delete the marker aswell query . setParameter ( 3 , "" ) ; query . executeUpdate ( ) ; }
Deletes the JpaBean and list its properties and the marker .