Uses of Class
org.fugerit.java.core.db.dao.DAOException
-
Packages that use DAOException Package Description org.fugerit.java.core.db.connect Classes for handling database connection.org.fugerit.java.core.db.dao Classes for handling database objects.org.fugerit.java.core.db.dao.idgen org.fugerit.java.core.db.daogen org.fugerit.java.core.db.helpers org.fugerit.java.core.db.metadata -
-
Uses of DAOException in org.fugerit.java.core.db.connect
Methods in org.fugerit.java.core.db.connect that throw DAOException Modifier and Type Method Description Connection
ConnectionFacadeWrapper. getConnection()
Connection
ConnectionFactory. getConnection()
Return a connection from the factoryabstract Connection
ConnectionFactoryImpl. getConnection()
Connection
DbcpConnectionFactory. getConnection()
Connection
SingleConnectionFactory. getConnection()
DataBaseInfo
ConnectionFacadeWrapper. getDataBaseInfo()
DataBaseInfo
ConnectionFactory. getDataBaseInfo()
Return database Metadata wrapperDataBaseInfo
ConnectionFactoryImpl. getDataBaseInfo()
DataBaseInfo
SingleConnectionFactory. getDataBaseInfo()
static String
ConnectionFactoryImpl. getDriverInfo(ConnectionFactory cf)
Return basic driver info for a ConnectionFactoryprotected void
ConnectionFactoryImpl. init()
static ConnectionFactoryImpl
ConnectionFactoryImpl. newInstance(String dsName)
Creates a new ConnectionFactory Data Source instancestatic ConnectionFactory
ConnectionFactoryImpl. newInstance(String drv, String url, String usr, String pwd)
Creates a new ConnectionFactory Direct instancestatic ConnectionFactory
ConnectionFactoryImpl. newInstance(String drv, String url, String usr, String pwd, ClassLoader cl)
Creates a new ConnectionFactory Direct instancestatic ConnectionFactory
ConnectionFactoryImpl. newInstance(Driver drv, String url, String usr, String pwd)
Creates a new ConnectionFactory Direct instancestatic ConnectionFactory
ConnectionFactoryImpl. newInstance(Properties props)
Creates a ConnectionFactory from a property objectstatic ConnectionFactory
ConnectionFactoryImpl. newInstance(Properties props, String propsPrefix, ClassLoader cl)
Creates a ConnectionFactory from a property objectstatic ConnectionFactoryImpl
ConnectionFactoryImpl. newInstance(DataSource ds)
Creates a new ConnectionFactory Data Source instancevoid
ConnectionFacadeWrapper. release()
void
ConnectionFactory. release()
Release the connection factoryvoid
ConnectionFactoryImpl. release()
void
SingleConnectionFactory. release()
Constructors in org.fugerit.java.core.db.connect that throw DAOException Constructor Description DbcpConnectionFactory(String drv, String url, String usr, String pwd, int init, int min, int max)
ConstructorDbcpConnectionFactory(String drv, String url, String usr, String pwd, int init, int min, int max, ClassLoader cl)
Constructor -
Uses of DAOException in org.fugerit.java.core.db.dao
Methods in org.fugerit.java.core.db.dao that return DAOException Modifier and Type Method Description static DAOException
DAOException. convertEx(Exception e)
static DAOException
DAOException. convertEx(String baseMessage, Exception e)
static DAOException
DAOException. convertExMethod(String method, Exception e)
Methods in org.fugerit.java.core.db.dao that throw DAOException Modifier and Type Method Description static <E extends Exception>
voidDAOException. apply(UnsafeVoid<E> fun)
protected void
BasicDAO. close(Connection conn)
static void
CloseDAOHelper. close(Closeable ac)
static void
CloseDAOHelper. close(AutoCloseable ac)
static void
DAOHelper. close(Connection conn)
protected int
BasicDAO. delete(String query, FieldList fields)
void
LoadResult. end()
protected boolean
BasicDAO. execute(String query)
protected boolean
BasicDAO. execute(String query, FieldList fields)
protected void
BasicDAO. extractAll(ResultSet rs, List<T> list, RSExtractor<T> rse)
Double
DAOUtils. extractDouble(String sql)
Long
DAOUtils. extractLong(String sql)
String
DAOUtils. extractString(String sql)
List<String>
DAOUtils. extractStringList(String sql)
DAOID
IdGenerator. generateId()
DAOID
IdGenerator. generateId(Connection conn)
static <T,E extends Exception>
TDAOException. get(UnsafeSupplier<T,E> fun)
protected Connection
BasicDAO. getConnection()
Connection
BasicDAOFactory. getConnection()
Connection
DAOFactory. getConnection()
T
LoadResult. getNext()
boolean
DefaultLoadResultNG. hasNext()
boolean
LoadResult. hasNext()
boolean
LoadResultNG. hasNext()
protected List<T>
BasicDAO. loadAll(String query, FieldList fields, RSExtractor<T> re)
protected List<T>
BasicDAO. loadAll(String query, Field f, RSExtractor<T> re)
protected List<T>
BasicDAO. loadAll(String query, RSExtractor<T> re)
protected void
BasicDAO. loadAll(List<T> l, String query, FieldList fields, RSExtractor<T> re)
protected void
BasicDAO. loadAll(List<T> l, String query, Field f, RSExtractor<T> re)
protected void
BasicDAO. loadAll(List<T> l, String query, RSExtractor<T> re)
protected void
BasicDAO. loadAll(List<T> list, OpDAO<T> op)
static <T> void
DAOHelper. loadAll(List<T> l, String query, FieldList fields, RSExtractor<T> re, DAOFactory bdf, LogObject log)
protected LoadResult<T>
BasicDAO. loadAllResult(String query, FieldList fields, RSExtractor<T> re)
protected T
BasicDAO. loadOne(String query, FieldList fields, RSExtractor<T> re)
protected T
BasicDAO. loadOne(String query, Field f, RSExtractor<T> re)
protected T
BasicDAO. loadOne(String query, RSExtractor<T> re)
protected T
BasicDAO. loadOne(OpDAO<T> op)
static <T> T
DAOHelper. loadOne(String query, FieldList fields, RSExtractor<T> re, DAOFactory bdf, LogObject log)
T
DefaultLoadResultNG. next()
T
LoadResultNG. next()
void
LoadResult. start()
long
LoadResult. startCount()
protected int
BasicDAO. update(String query)
protected int
BasicDAO. update(String query, Field field)
protected int
BasicDAO. update(String query, FieldList fields)
protected int
BasicDAO. update(OpDAO<T> op)
boolean
BasicDAO. updateBatch(List<OpDAO<T>> opList)
boolean
BasicDAO. updateTransaction(List<OpDAO<T>> opList)
-
Uses of DAOException in org.fugerit.java.core.db.dao.idgen
Methods in org.fugerit.java.core.db.dao.idgen that throw DAOException Modifier and Type Method Description DAOID
BasicIdGenerator. generateId()
abstract DAOID
BasicIdGenerator. generateId(Connection conn)
DAOID
BasicSeqIdGenerator. generateId(Connection conn)
DAOID
GenericSeqIdGenerator. generateId()
DAOID
MysqlSeqIdGenerator. generateId()
static BasicSeqIdGenerator
IdGeneratorFacade. sequenceGenerator(Connection conn, String sequenceName)
static BasicSeqIdGenerator
IdGeneratorFacade. sequenceGenerator(ConnectionFactory cf, String sequenceName)
static BasicSeqIdGenerator
IdGeneratorFacade. sequenceGenerator(ConnectionFactory cf, String sequenceName, int dbType)
static BasicSeqIdGenerator
IdGeneratorFacade. sequenceGenerator(DAOContext context, String sequenceName)
-
Uses of DAOException in org.fugerit.java.core.db.daogen
Methods in org.fugerit.java.core.db.daogen that throw DAOException Modifier and Type Method Description static void
DataEntityUtils. addToQuery(Object facade, QueryHelper query)
BigDecimal
BasicDataFacade. generateId(DAOContext context)
Connection
CloseableDAOContextSC. getConnection()
Connection
DAOContext. getConnection()
BasicDaoResult<T>
BasicDataFacade. loadAll(DAOContext context)
void
BasicDAOHelper. loadAllHelper(List<T> l, String query, FieldList fields, RSExtractor<T> re)
void
BasicDAOHelper. loadAllHelper(List<T> l, SelectHelper query, RSExtractor<T> re)
T
BasicDAOHelper. loadOneHelper(SelectHelper query, RSExtractor<T> re)
protected abstract CloseableDAOContext
SimpleServiceProvider. newDefaultContext()
static ByteArrayDataHandler
ByteArrayDataHandler. newHandlerByte(byte[] data)
static CharArrayDataHandler
CharArrayDataHandler. newHandlerByte(char[] data)
static ByteArrayDataHandler
ByteArrayDataHandler. newHandlerDefault(Blob b)
static CharArrayDataHandler
CharArrayDataHandler. newHandlerDefault(Clob c)
static ByteArrayDataHandler
ByteArrayDataHandler. newHandlerPreload(Blob b)
static CharArrayDataHandler
CharArrayDataHandler. newHandlerPreload(Clob c)
BigDecimal
BasicDAOHelper. newSequenceValue(String sequence)
static void
SimpleServiceProvider. throwDAOException(Exception e)
static DataEntityInfo
DataEntityUtils. unwrap(Object facade)
int
BasicDAOHelper. update(QueryHelper queryHelper)
-
Uses of DAOException in org.fugerit.java.core.db.helpers
Methods in org.fugerit.java.core.db.helpers that throw DAOException Modifier and Type Method Description static void
DbUtils. close(Connection conn)
-
Uses of DAOException in org.fugerit.java.core.db.metadata
Methods in org.fugerit.java.core.db.metadata that throw DAOException Modifier and Type Method Description static DataBaseModel
MetaDataUtils. createModel(ConnectionFactory cf)
static DataBaseModel
MetaDataUtils. createModel(ConnectionFactory cf, String[] types)
static DataBaseModel
MetaDataUtils. createModel(ConnectionFactory cf, String catalog, String schema)
static DataBaseModel
MetaDataUtils. createModel(ConnectionFactory cf, String catalog, String schema, String[] types)
static DataBaseModel
MetaDataUtils. createModel(ConnectionFactory cf, String catalog, String schema, List<String> tableNameList)
static DataBaseModel
MetaDataUtils. createModel(ConnectionFactory cf, String catalog, String schema, List<String> tableNameList, String[] types)
String
JdbcAdaptor. getColumnComment(TableId tableId, String columnName)
String
JdbcAdaptor. getColumnExtraInfo(TableId tableId, String columnName)
String
JdbcAdaptor. getTableComment(TableId tableId)
void
DataBaseInfo. init(Connection conn)
void
DataBaseInfo. init(ConnectionFactory cf)
-