org.aris.hldb.servers
Class SqlServer

java.lang.Object
  extended by org.aris.hldb.servers.SqlServer
All Implemented Interfaces:
DBServerI

public class SqlServer
extends java.lang.Object
implements DBServerI

An implementation of a SP creator for Microsoft's sql server.

Version:
1.0
Author:
Konstantine Kougios

Constructor Summary
SqlServer()
          Creates a new instance of SqlServer
 
Method Summary
 void CreateStoredProcedure(java.lang.String key, java.lang.String sql, java.util.Stack params, int paramcount)
          Creates sql server SP's.
 void spCreator(ConnectionProviderI hlcon)
          This stores the hlcon for later usage.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlServer

public SqlServer()
Creates a new instance of SqlServer

Method Detail

CreateStoredProcedure

public void CreateStoredProcedure(java.lang.String key,
                                  java.lang.String sql,
                                  java.util.Stack params,
                                  int paramcount)
                           throws java.sql.SQLException
Creates sql server SP's.

Specified by:
CreateStoredProcedure in interface DBServerI
Parameters:
key - The key with which this CS will be called.
sql - The sql string.
params - A stack with the parameters of this sql.
paramcount - The parameter count.
Throws:
java.sql.SQLException - -

spCreator

public void spCreator(ConnectionProviderI hlcon)
This stores the hlcon for later usage.

Specified by:
spCreator in interface DBServerI
Parameters:
hlcon - The connection to the database.