Uses of Class
org.enableit.db.DBException

Packages that use DBException
org.enableit.db API This package contains general database utility classes that are employed within Darrt but may also be used alone. 
org.enableit.db.darrt API This is the primary package of the Darrt library providing the functionality to create and deploy .dar files. 
org.enableit.db.isql.biz   
 

Uses of DBException in org.enableit.db
 

Methods in org.enableit.db that throw DBException
 org.enableit.db.beans.Provider ConnectionFactory.getProvider(java.lang.String name)
          Deprecated. Obtain connection details for the named configuration.
static java.sql.Connection ConnectionFactory.getConnection()
          Deprecated. Returns a connection to the database identified by the class's resource properties.
static java.sql.Connection ConnectionFactory.getConnection(java.lang.String driver, java.lang.String database, java.lang.String server, java.lang.String port, java.lang.String protocol, java.lang.String user, java.lang.String password)
          Deprecated. Returns a connection to the database identified by the supplied properties.
static java.sql.Connection ConnectionFactory.getConnection(java.lang.String driver, java.lang.String url, java.lang.String user, java.lang.String password)
          Deprecated. Returns a connection to the database identified by the supplied properties.
protected  java.lang.Object ConnectionFactory.getDriver(java.lang.String className)
          Deprecated. Obtain a JDBC driver class.
static java.sql.Connection ConnFactory.getConnection(org.enableit.db.beans.Provider provider)
          Returns a connection to the database identified within the supplied provider.
static java.sql.Connection ConnFactory.getConnection(java.lang.String name)
          Obtain connection for the named configuration.
static java.util.ArrayList DatabaseProxy.executeQuery(java.sql.Connection conn, java.lang.String sql)
          Execute the supplied SQL query against the supplied database connection.
static java.util.List DatabaseProxy.executeQuery(java.sql.Connection conn, java.lang.String sql, java.util.List parms)
          Execute the supplied SQL query against the supplied database connection.
static java.lang.Object DatabaseProxy.executeQuery(java.sql.Connection conn, java.lang.String sql, int returnType)
          Deprecated. 
use executeQuery(conn:Connection, sql:String): java.util.ArrayList instead
static int DatabaseProxy.executeUpdate(java.sql.Connection conn, java.lang.String sql)
          Execute the supplied SQL update query against a the supplied database connection.
static int DatabaseProxy.executeUpdate(java.sql.Connection conn, java.lang.String sql, java.util.List parms)
          Execute the supplied SQL update statement against a the supplied database connection.
static int DatabaseProxy.executeDmlProcedure(java.sql.Connection conn, java.lang.String sp, java.util.List parms)
          Execute the supplied stored procedure against the supplied database connection.
static java.lang.Object DatabaseProxy.executeQueryProcedure(java.sql.Connection conn, java.lang.String sp, java.util.List parms, int returnType)
          Execute the supplied stored procedure against the supplied database connection.
 void DataLoader.setColumnDatatypes(java.lang.String datatypes)
          Deprecated. Set the datatypes of the columns to be inserted into.
 void DataLoader.execute()
          Deprecated. Do the load.
static java.sql.Connection DataSourceProxy.getConnection(java.lang.String dataSourceName)
          Deprecated. Use ConnectionFactory.getConnection(Provider) instead.
static java.util.List DataSourceProxy.executeQuery(java.lang.String dataSourceName, java.lang.String sql)
          Execute the supplied SQL query against a connection obtained from the named DataSource.
static java.util.List DataSourceProxy.executeQuery(java.lang.String dataSourceName, java.lang.String sql, java.util.List params)
          Execute the supplied SQL query against the supplied database connection.
static int DataSourceProxy.executeUpdate(java.lang.String dataSourceName, java.lang.String sql)
          Execute the supplied SQL update against a the supplied database connection.
static int DataSourceProxy.executeUpdate(java.lang.String dataSourceName, java.lang.String sql, java.util.List parms)
          Execute the supplied SQL update against a connection obtained from the named DataSource.
static int DataSourceProxy.executeDmlProcedure(java.lang.String dataSourceName, java.lang.String sp, java.util.List parms)
          Execute the supplied update procedure against a connection obtained from the named DataSource.
static java.util.List DataSourceProxy.executeQueryProcedure(java.lang.String dataSourceName, java.lang.String sp, java.util.List parms)
          Execute the supplied query procedure against a connection obtained from the named DataSource.
static java.util.List DBUtils.convertResultToList(java.sql.ResultSet sqlResults)
          Turns a ResultSet into an ArrayList of TreeMaps
static int DBUtils.getNextIdUsingSQL(java.lang.String tableName)
          Returns the next available id for the specified table
static int DBUtils.getNextId(java.lang.String tableName, boolean spSupported)
          Returns the next available id for the specified table
static java.lang.Object DBUtils.populateBean(java.lang.Object bean, java.util.Map dataRecord)
          Read data from a Map containing data according to the convention in convertResultToList and populate a JavaBean object with it.
static java.sql.PreparedStatement DBUtils.bindVars(java.sql.PreparedStatement ps, java.util.List parms)
          Binds a List of varables into a SQL statement.
static int GenericDBProxy.executeUpdate(java.lang.String sql)
          Execute the supplied SQL update query against a database connection supplied from ConnectionFactory.
static int GenericDBProxy.executeUpdate(org.enableit.db.beans.Provider provider, java.lang.String sql)
          Execute the supplied SQL update query against a database connection supplied from ConnectionFactory.
static int GenericDBProxy.executeUpdate(java.lang.String sql, java.util.List parms)
          Execute the supplied SQL update query against a database connection supplied from ConnectionFactory.
static int GenericDBProxy.executeUpdate(org.enableit.db.beans.Provider provider, java.lang.String sql, java.util.List parms)
          Execute the supplied SQL update query against a database connection supplied from ConnectionFactory.
static java.lang.Object GenericDBProxy.executeQuery(java.lang.String sql, int returnType)
          Deprecated. Use one of the other methods that does not referende return type
static java.util.List GenericDBProxy.executeQuery(org.enableit.db.beans.Provider prov, java.lang.String sql)
          Execute the supplied SQL query against a database connection supplied from ConnectionFactory.
static java.util.List GenericDBProxy.executeQuery(org.enableit.db.beans.Provider prov, java.lang.String sql, java.util.List parms)
          Execute the supplied SQL query against a database connection supplied from ConnectionFactory.
static int GenericDBProxy.executeDmlProcedure(java.lang.String sp, java.util.ArrayList parms)
          Execute the supplied stored procedure against a database connection supplied from ConnectionFactory.
static java.lang.Object GenericDBProxy.executeQueryProcedure(java.lang.String sp, java.util.List parms, int returnType)
          Execute the supplied stored procedure against a database connection supplied from ConnectionFactory.
static org.w3c.dom.Document XMLProxy.getDocument(java.util.List list)
           
static org.w3c.dom.Document XMLProxy.getDocument(java.sql.ResultSet rs)
          Convert a SQL result set into an XML representation.
 

Uses of DBException in org.enableit.db.darrt
 

Subclasses of DBException in org.enableit.db.darrt
 class DarHandlingException
          General exception for use by this library's classes when communicating exceptions.
 class DataImportException
          Holder for row sets that cannot be imported by DataHandler.
 class FileProcessorException
          Represents an exception in the operation of a FileProcessor.
 class SchemaHandlingException
          General exception for use by this library's classes when communicating exceptions.
 class TempSchemaHandlingException
           
 

Methods in org.enableit.db.darrt that throw DBException
 org.enableit.db.beans.RowSet CsvDataParser.getRowSet(java.io.InputStream is, org.enableit.db.beans.Table table)
          Convert an input stream of CSV data for the specified table into a structured format of a RowSet.
 void DarHandler.create(java.io.OutputStream out, org.enableit.db.beans.Database database)
           
 void DarHandler.create(java.io.OutputStream out, org.enableit.db.beans.Database database, java.util.List dataList)
          Creates a .dar file.
 void DarHandler.install(java.net.URL url)
          Installs a data archive in its entirety.
 void DarHandler.process(java.io.File file, java.lang.String fileType)
           
 void DarHandler.setProvider(org.enableit.db.beans.Provider provider)
          Override the target for the DAR file to be imported to.
 org.enableit.db.beans.RowSet DataHandler.importData(org.enableit.db.beans.Provider target, org.enableit.db.beans.RowSet rows)
          Import the data in the row set into the specified database.
 void DataHandler.process(java.io.File file, java.lang.String fileType)
          Process the specified file by importing its data into the database specified by the Provider property.
 void DataHandler.setProvider(org.enableit.db.beans.Provider provider)
          Specify database connection details.
 org.enableit.db.beans.RowSet DataHandler.getRowSetFromXML(java.io.InputStream is, org.enableit.db.beans.Table table)
          Deprecated. The introduction of the DataParserFactory makes this obsolete.
 org.enableit.db.beans.RowSet DataHandler.getRowSetFromCSV(java.io.InputStream is, org.enableit.db.beans.Table table)
          Deprecated. The introduction of the DataParserFactory makes this obsolete.
 org.enableit.db.beans.RowSet DataParser.getRowSet(java.io.InputStream is, org.enableit.db.beans.Table table)
           
 void FileProcessor.process(java.io.File file, java.lang.String fileType)
          Process the specified file.
 void FileProcessor.setProvider(org.enableit.db.beans.Provider provider)
          Specify database connection details.
 org.enableit.db.beans.Database MetaDataFactory.getMetaData(org.enableit.db.beans.Provider provider)
           
 org.enableit.db.beans.Database MetaDataFactory.getMetaData(org.enableit.db.beans.Provider provider, boolean refresh)
           
 org.enableit.db.beans.Table MetaDataFactory.getMetaData(org.enableit.db.beans.Provider provider, java.lang.String tableName)
           
 org.w3c.dom.Document SchemaExporter.export(org.enableit.db.beans.Provider provider)
          Export the schema identified by the Provider parameter.
 org.w3c.dom.Document SchemaExporter.export(java.lang.String driver, java.lang.String url, java.lang.String userid, java.lang.String password)
          Export the schema identified by the provided connection parameters.
 org.w3c.dom.Document SchemaExporter.export(java.lang.String dataSourceName)
          Export the schema identified by the provided connection parameters.
 org.w3c.dom.Document SchemaExporter.exportToFile(org.enableit.db.beans.Provider provider, int outputMode)
          Export the schema identified by the Provider parameter to a file.
 org.enableit.db.beans.RowSet XmlDataParser.getRowSet(java.io.InputStream is, org.enableit.db.beans.Table table)
          Convert an input stream of CSV data for the specified table into a structured format of a RowSet.
 

Uses of DBException in org.enableit.db.isql.biz
 

Methods in org.enableit.db.isql.biz that throw DBException
 org.enableit.db.isql.biz.IsqlModel Isql.execute(org.enableit.db.isql.biz.IsqlModel model)
           
 



Copyright © 1999-2004 enableIT.org. All Rights Reserved.