Uses of Class
net.sf.persism.SQL

Packages that use SQL
Package
Description
Persism main API.
  • Uses of SQL in net.sf.persism

    Methods in net.sf.persism that return SQL
    Modifier and Type
    Method
    Description
    static SQL
    SQL.proc(String storedProc)
    Static initializer for a new SQL stored procedure string.
    static SQL
    SQL.sql(String sql)
    Method to instantiate a regular SQL string.
    static SQL
    SQL.where(String where)
    Method used to specify an SQL WHERE clause for an SQL Statement.
    Methods in net.sf.persism with parameters of type SQL
    Modifier and Type
    Method
    Description
    int
    Session.delete(Class<?> objectClass, SQL whereClause)
    Deletes data from the database based on the specified WHERE clause
    int
    Session.delete(Class<?> objectClass, SQL whereClause, Parameters parameters)
    Deletes data from the database based on the specified WHERE clause and parameters
    <T> T
    Session.fetch(Class<T> objectClass, SQL sql)
    Fetch object by arbitrary SQL
    <T> T
    Session.fetch(Class<T> objectClass, SQL sql, Parameters parameters)
    Fetch an object of the specified type from the database.
    <T> List<T>
    Session.query(Class<T> objectClass, SQL sql)
    Query for any arbitrary SQL statement.
    <T> List<T>
    Session.query(Class<T> objectClass, SQL sql, Parameters parameters)
    Query for a list of objects of the specified class using the specified SQL query and parameters.