public class DeleteRelatedEntitiesMySQLTransformer extends DeleteRelatedEntitiesJPATransformer
Transformer
provides a visitor via injection to the core logic, that can allow manipulating the number of entities that are effected in a delete operation.
DeleteRelatedEntitiesJPATransformer.transform(Object)
entityManager, entityName, isNative, relatedEntities
Constructor and Description |
---|
DeleteRelatedEntitiesMySQLTransformer() |
DeleteRelatedEntitiesMySQLTransformer(String[][] relatedNativeEntities,
String entityName) |
Modifier and Type | Method and Description |
---|---|
protected void |
deleteBasedOnHierarchy(Object input,
String relatedEntityName,
String relatedFieldName) |
getEntityManager, getEntityName, getRelatedEntities, setEntityManager, setEntityName, setRelatedEntities, transform
public DeleteRelatedEntitiesMySQLTransformer()
@Transactional(readOnly=false) protected void deleteBasedOnHierarchy(Object input, String relatedEntityName, String relatedFieldName)
deleteBasedOnHierarchy
in class DeleteRelatedEntitiesJPATransformer
Copyright © 2018. All rights reserved.