Package com.majorana.maj_orm.ORM_ACCESS
Interface DbBeanGenericInterface<T extends BaseMajoranaEntity>
- All Known Implementing Classes:
DbBeanGenericInstance
public interface DbBeanGenericInterface<T extends BaseMajoranaEntity>
-
Method Summary
Modifier and TypeMethodDescriptiondeleteBeanById
(MultiId mid) deleteBeanByParams
(MultiId mid, T bde) int
deleteBeans
(String[] paramNames, Object[] params) getBeanNPWithSelectClause
(String sql, String[] paramNames, Object[] params) T[]
getBeansArray
(String sql, Object[] params) T[]
getBeansArrayNP
(String sql, String[] paramNames, Object[] params) T[]
getBeansArrayNPWithSelectClause
(String sql, String[] paramNames, Object[] params) getBeansNP
(String sql, String[] paramNames, Object[] params) getBeansNPWithSelectClause
(String sql, String[] paramNames, Object[] params) getParamMap
(String[] named, Object[] params) getRepo()
static int
mapParams
(PreparedStatement ps, Object[] args) int
updateAltIds
(MultiId mid, T bde) updateBean
(MultiId mid, T bde)
-
Method Details
-
getRepo
MajoranaAnnotationRepository<T> getRepo() -
getBeansNP
-
getBeansNPWithSelectClause
-
getBeans
- Throws:
SQLException
-
getBeanNP
- Throws:
SQLException
-
getBeanNPWithSelectClause
- Throws:
SQLException
-
getBeansArray
- Throws:
SQLException
-
getBeansArrayNP
- Throws:
SQLException
-
getBeansArrayNPWithSelectClause
T[] getBeansArrayNPWithSelectClause(String sql, String[] paramNames, Object[] params) throws SQLException - Throws:
SQLException
-
getParamMap
-
getFields
String getFields() -
getFields
-
getIdFieldName
String getIdFieldName() -
deleteBeans
- Throws:
SQLException
-
storeBean
- Throws:
SQLException
-
updateBean
- Throws:
SQLException
-
updateAltIds
- Throws:
SQLException
-
deleteBeanById
MultiId deleteBeanById(MultiId mid) throws SQLException, InstantiationException, IllegalAccessException -
deleteBeanByParams
- Throws:
SQLException
-
getIdField
MajoranaRepositoryField getIdField() -
mapParams
- Throws:
SQLException
-