dao
Class AquaDaoMysql

java.lang.Object
  extended by dao.AquaDaoMysql
Direct Known Subclasses:
DimensionenDaoMysql, LebewesenDaoMysql, PhwerteDaoMysql, StatistikDaoMysql, SzenarienDaoMysql, SzenarioFutterzeitDaoMysql, TempwerteDaoMysql

public class AquaDaoMysql
extends java.lang.Object

Super Klasse f�r DAO's die MySQL-Datenbank abfragen f�hren

Author:
Konstantin Karzanov 28.08.2008

Constructor Summary
AquaDaoMysql(java.lang.String url)
           
 
Method Summary
 void close()
          Schlie�t Statement, PreparedStatement, CallableStatement und Connection
 java.sql.CallableStatement getCallableStatement(java.lang.String sql)
          Macht CallableStatement mit vorhandene oder mit neu Connection
 java.sql.Connection getConnection()
          Macht Connection
 java.sql.PreparedStatement getPreparedStatement(java.lang.String sql)
          Macht PreparedStatement mit vorhandene oder mit neu Connection
 java.sql.Statement getStatement()
          Macht Statement mit vorhandene oder mit neu Connection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AquaDaoMysql

public AquaDaoMysql(java.lang.String url)
Method Detail

close

public void close()
           throws AquaDaoException
Schlie�t Statement, PreparedStatement, CallableStatement und Connection

Throws:
AquaDaoException

getConnection

public java.sql.Connection getConnection()
                                  throws AquaDaoException
Macht Connection

Returns:
Connection
Throws:
AquaDaoException

getStatement

public java.sql.Statement getStatement()
                                throws AquaDaoException
Macht Statement mit vorhandene oder mit neu Connection

Returns:
Statement
Throws:
AquaDaoException

getPreparedStatement

public java.sql.PreparedStatement getPreparedStatement(java.lang.String sql)
                                                throws AquaDaoException
Macht PreparedStatement mit vorhandene oder mit neu Connection

Returns:
PreparedStatement
Throws:
AquaDaoException

getCallableStatement

public java.sql.CallableStatement getCallableStatement(java.lang.String sql)
                                                throws AquaDaoException
Macht CallableStatement mit vorhandene oder mit neu Connection

Returns:
CallableStatement
Throws:
AquaDaoException