|
at.glawar GlawarDataAdapter [2006-07-04] |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectat.glawar.gladataadapter.GLAMSSQLDataAdapter
Provides methods for creating a database connection to a Microsoft's SQL-Server 2000 or 2005.
A Microsoft SQL Server 2005 JDBC Driver is needed
(sqljdbc_1.0.809.102_enu.tar.gz) from e. g.
http://msdn.microsoft.com/data/jdbc/
| Constructor Summary | |
GLAMSSQLDataAdapter(String strServer,
String strPort,
String strDatabaseName,
String strUsername,
String strUserPassword,
String strApplicationName,
String strInstanceName)
initializes a new instance of GLAMSSQLDataAdapter. |
|
| Method Summary | |
Connection |
getConnection()
get a new connection to Microsoft's SQL-Server. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GLAMSSQLDataAdapter(String strServer,
String strPort,
String strDatabaseName,
String strUsername,
String strUserPassword,
String strApplicationName,
String strInstanceName)
throws SQLException,
Exception
initializes a new instance of GLAMSSQLDataAdapter.
strServer - server (e. g. JTIMEMYWELLNESS)strPort - port (e. g. 1433)strDatabaseName - name of the database (e. g. PACODB)strUsername - usernamestrUserPassword - passwordstrApplicationName - name of the applicationstrInstanceName - instance name (e. g. SQLEXPRESS)
SQLException - if an error occured
Exception - if an error with the driver occured| Method Detail |
public Connection getConnection()
throws SQLException
get a new connection to Microsoft's SQL-Server.
null
SQLException - if an error occured
|
software.glawar.at | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||