Atavism Version 2018.1AGIS API

atavism.agis.database
Class AuthQueries

java.lang.Object
  extended by atavism.agis.database.AuthQueries

public class AuthQueries
extends java.lang.Object


Constructor Summary
AuthQueries()
           
 
Method Summary
 void close()
           
 void closeStatement(java.sql.PreparedStatement ps)
           
 void closeStatement(java.sql.PreparedStatement ps, java.sql.ResultSet rs)
           
 int executeInsert(java.sql.PreparedStatement ps)
           
 int executeInsert(java.lang.String query)
           
 java.sql.ResultSet executeSelect(java.sql.PreparedStatement ps)
           
 java.sql.ResultSet executeSelect(java.lang.String query)
           
 int executeUpdate(java.sql.PreparedStatement ps)
           
 int executeUpdate(java.lang.String query)
           
protected  void finalize()
           
static java.lang.String getConnectionString()
           
static java.sql.Connection initConnection()
           
 void ping()
          Runs a select statement to make sure we can still talk to the database.
 java.sql.PreparedStatement prepare(java.lang.String sql)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthQueries

public AuthQueries()
Method Detail

getConnectionString

public static java.lang.String getConnectionString()

initConnection

public static java.sql.Connection initConnection()

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

close

public void close()

prepare

public java.sql.PreparedStatement prepare(java.lang.String sql)

executeSelect

public java.sql.ResultSet executeSelect(java.lang.String query)

executeSelect

public java.sql.ResultSet executeSelect(java.sql.PreparedStatement ps)

executeInsert

public int executeInsert(java.lang.String query)

executeInsert

public int executeInsert(java.sql.PreparedStatement ps)

executeUpdate

public int executeUpdate(java.lang.String query)

executeUpdate

public int executeUpdate(java.sql.PreparedStatement ps)

closeStatement

public void closeStatement(java.sql.PreparedStatement ps,
                           java.sql.ResultSet rs)

closeStatement

public void closeStatement(java.sql.PreparedStatement ps)

ping

public void ping()
Runs a select statement to make sure we can still talk to the database.



Copyright © 2018 Dragonsan Studios Sp. z o.o.