
com.pugwoo.dbhelper.impl.part.P5_DeleteOp Maven / Gradle / Ivy
package com.pugwoo.dbhelper.impl.part;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;
import com.pugwoo.dbhelper.annotation.Column;
import com.pugwoo.dbhelper.exception.InvalidParameterException;
import com.pugwoo.dbhelper.exception.MustProvideconstructorException;
import com.pugwoo.dbhelper.exception.NullKeyValueException;
import com.pugwoo.dbhelper.sql.SQLUtils;
import com.pugwoo.dbhelper.utils.DOInfoReader;
public abstract class P5_DeleteOp extends P4_InsertOrUpdateOp {
@Override
public int deleteByKey(T t) throws NullKeyValueException {
Field softDelete = DOInfoReader.getSoftDeleteColumn(t.getClass());
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy