Package com.majorana.maj_orm.ORM_ACCESS
Interface DbBeanInstInterface
- All Known Implementing Classes:
DbBeanInstance
public interface DbBeanInstInterface
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
boolean
connect()
deleteBeanById
(MultiId mid, BaseMajoranaEntity bde) deleteBeanByParams
(MultiId mid, BaseMajoranaEntity bde) int
deleteBeans
(Class beanClass, String table, String[] paramNames, Object[] params) Deprecated.boolean
getBeanNPWithSelectClause
(Class beanClass, String table, String sql, String[] paramNames, Object[] params) getBeansNPWithSelectClause
(Class beanClass, String table, String sql, String[] paramNames, Object[] params) com.datastax.oss.driver.api.core.cql.PreparedStatement
getIdField
(Class beanClass) getParamMap
(String[] named, Object[] params) void
float
readJavaObject
(String sql, Object[] params) updateBean
(MultiId mid, BaseMajoranaEntity bde) int
long
writeJavaObject
(Object object, String sql)
-
Method Details
-
getCassPreparedStatement
-
preloadEntities
void preloadEntities() -
connect
- Throws:
ClassNotFoundException
SQLException
-
close
- Throws:
SQLException
-
execSQL
Deprecated.- Throws:
SQLException
-
execSQL
- Throws:
SQLException
-
existsSQL
- Throws:
SQLException
-
updateSQL
- Throws:
SQLException
-
getRepo
-
getRepo
-
getParamMap
-
deleteBeans
int deleteBeans(Class beanClass, String table, String[] paramNames, Object[] params) throws SQLException - Throws:
SQLException
-
storeBean
- Throws:
SQLException
-
getIdField
-
updateBean
- Throws:
SQLException
-
deleteBeanById
- Throws:
SQLException
-
deleteBeanByParams
- Throws:
SQLException
-
getBean
- Throws:
SQLException
-
getBeanNP
Object getBeanNP(Class beanClass, String table, String sql, String[] paramNames, Object[] params) throws SQLException - Throws:
SQLException
-
getBeanNPWithSelectClause
Object getBeanNPWithSelectClause(Class beanClass, String table, String sql, String[] paramNames, Object[] params) throws SQLException - Throws:
SQLException
-
getBeansNP
List<Object> getBeansNP(Class beanClass, String table, String sql, String[] paramNames, Object[] params) throws SQLException - Throws:
SQLException
-
getBeansNPWithSelectClause
List<Object> getBeansNPWithSelectClause(Class beanClass, String table, String sql, String[] paramNames, Object[] params) throws SQLException - Throws:
SQLException
-
getBeans
List<Object> getBeans(Class beanClass, String table, String sql, Object[] params) throws SQLException - Throws:
SQLException
-
readFloat
- Throws:
Exception
-
readJavaObject
- Throws:
Exception
-
writeJavaObject
- Throws:
Exception
-