Package com.majorana.maj_orm.ORM_ACCESS
Interface DbBeanInterface
- All Known Implementing Classes:
DbBean
public interface DbBeanInterface
-
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
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
-
readFloat
- Throws:
Exception
-
readJavaObject
- Throws:
Exception
-
writeJavaObject
- Throws:
Exception
-