Uses of Class
org.knowm.yank.exceptions.YankSQLException
Packages that use YankSQLException
-
Uses of YankSQLException in org.knowm.yank
Methods in org.knowm.yank that throw YankSQLExceptionModifier and TypeMethodDescriptionstatic intExecutes the given INSERT, UPDATE, DELETE, REPLACE or UPSERT SQL prepared statement.static intExecutes the given INSERT, UPDATE, DELETE, REPLACE or UPSERT SQL prepared statement.static int[]Yank.executeBatch(String sql, Object[][] params) Batch executes the given INSERT, UPDATE, DELETE, REPLACE or UPSERT SQL statement using the default connection pool.static int[]Yank.executeBatch(String poolName, String sql, Object[][] params) Batch executes the given INSERT, UPDATE, DELETE, REPLACE or UPSERT SQL statementstatic int[]Yank.executeBatchSQLKey(String sqlKey, Object[][] params) Batch executes the given INSERT, UPDATE, DELETE, REPLACE or UPSERT SQL statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...) using the default connection pool.static int[]Yank.executeBatchSQLKey(String poolName, String sqlKey, Object[][] params) Batch executes the given INSERT, UPDATE, DELETE, REPLACE or UPSERT SQL statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...).static intYank.executeSQLKey(String sqlKey, Object[] params) Executes the given INSERT, UPDATE, DELETE, REPLACE or UPSERT SQL statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...) using the default connection pool.static intYank.executeSQLKey(String poolName, String sqlKey, Object[] params) Executes the given INSERT, UPDATE, DELETE, REPLACE or UPSERT SQL statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...).static LongExecutes a given INSERT SQL prepared statement.static LongExecutes a given INSERT SQL prepared statement.static LongYank.insertSQLKey(String sqlKey, Object[] params) Executes a given INSERT SQL prepared statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...) using the default connection pool.static LongYank.insertSQLKey(String poolName, String sqlKey, Object[] params) Executes a given INSERT SQL prepared statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...).static <T> TReturn just one Bean given an SQL statement.static <T> TReturn just one Bean given an SQL statement.static <T> List<T>Yank.queryBeanList(String sql, Class<T> beanType, Object[] params) Return a List of Beans given an SQL statement using the default connection pool.static <T> List<T>Yank.queryBeanList(String poolName, String sql, Class<T> beanType, Object[] params) Return a List of Beans given an SQL statementstatic <T> List<T>Yank.queryBeanListSQLKey(String sqlKey, Class<T> beanType, Object[] params) Return a List of Beans given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...) using the default connection pool.static <T> List<T>Yank.queryBeanListSQLKey(String poolName, String sqlKey, Class<T> beanType, Object[] params) Return a List of Beans given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...).static <T> TYank.queryBeanSQLKey(String sqlKey, Class<T> beanType, Object[] params) Return just one Bean given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...).static <T> TYank.queryBeanSQLKey(String poolName, String sqlKey, Class<T> beanType, Object[] params) Return just one Bean given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...).static <T> List<T>Yank.queryColumn(String sql, String columnName, Class<T> columnType, Object[] params) Return a List of Objects from a single table column given an SQL statement using the default connection pool.static <T> List<T>Yank.queryColumn(String poolName, String sql, String columnName, Class<T> columnType, Object[] params) Return a List of Objects from a single table column given an SQL statementstatic <T> List<T>Yank.queryColumnSQLKey(String sqlKey, String columnName, Class<T> columnType, Object[] params) Return a List of Objects from a single table column given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...) using the default connection pool.static <T> List<T>Yank.queryColumnSQLKey(String poolName, String sqlKey, String columnName, Class<T> columnType, Object[] params) Return a List of Objects from a single table column given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...).Yank.queryObjectArrays(String sql, Object[] params) Return a List of generic Object[]s given an SQL statement using the default connection pool.Yank.queryObjectArrays(String poolName, String sql, Object[] params) Return a List of generic Object[]s given an SQL statementYank.queryObjectArraysSQLKey(String sqlKey, Object[] params) Return a List of generic Object[]s given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...) using the default connection pool.Yank.queryObjectArraysSQLKey(String poolName, String sqlKey, Object[] params) Return a List of generic Object[]s given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...).static <T> TYank.queryScalar(String sql, Class<T> scalarType, Object[] params) Return just one scalar given a an SQL statement using the default connection pool.static <T> TYank.queryScalar(String poolName, String sql, Class<T> scalarType, Object[] params) Return just one scalar given a an SQL statementstatic <T> TYank.queryScalarSQLKey(String sqlKey, Class<T> scalarType, Object[] params) Return just one scalar given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...) using the default connection pool.static <T> TYank.queryScalarSQLKey(String poolName, String sqlKey, Class<T> scalarType, Object[] params) Return just one scalar given a SQL Key using an SQL statement matching the sqlKey String in a properties file loaded via Yank.addSQLStatements(...).