com.ltu.smd116.misc
Class DataCore

Direct Known Subclasses:
ArticleDBP, DBPCard, DBPSample, DBWeather, PersonnelDBP, ServiceDBP, UserDBP

public class DataCore

Insert the type's description here.
Creation date: (2/27/2001 4:05:01 PM)

Author:
: Michael Medin

Constructor Summary
DataCore()
          Constructor

Method Summary
 voidconnect()
          Constructor
 protected PreparedStatementcreatePreparedStatament(String s)
           
 CallableStatementcreatePrepCall(String sql)
           
 protected StatementcreateStatament()
           
 voidEventLog(Object object, String str)
           
 voidEventLog(Object object, String function, Exception e)
           
 voidEventLog(String str)
           
 protected ResultSetexecute(String s)
           
 protected ResultSetexecute(PreparedStatement ps)
           
 protected ResultSetexecuteQuery(String s)
           
 protected ResultSetexecuteStatement(PreparedStatement ps)
           
 protected booleanexecuteString(String s)
           
 protected ConnectiongetConnection()
           
 protected booleanrunStatement(PreparedStatement ps)
           

Constructor Detail

DataCore

public DataCore()
Constructor
Method Detail

connect

public void connect()
Constructor

createPreparedStatament

protected PreparedStatement createPreparedStatament(String s)
throws java.sql.SQLException

createPrepCall

public CallableStatement createPrepCall(String sql)
throws java.sql.SQLException

createStatament

protected Statement createStatament()
throws java.sql.SQLException

EventLog

public void EventLog(Object object, String str)

EventLog

public void EventLog(Object object, String function, Exception e)

EventLog

public void EventLog(String str)

execute

protected ResultSet execute(String s)
throws java.sql.SQLException

execute

protected ResultSet execute(PreparedStatement ps)
throws java.sql.SQLException

executeQuery

protected ResultSet executeQuery(String s)
throws java.sql.SQLException

executeStatement

protected ResultSet executeStatement(PreparedStatement ps)
throws java.sql.SQLException

executeString

protected boolean executeString(String s)
throws java.sql.SQLException

getConnection

protected Connection getConnection()
throws java.sql.SQLException

runStatement

protected boolean runStatement(PreparedStatement ps)
throws java.sql.SQLException