Class MsSqlConnection
java.lang.Object
ch.nolix.base.sql.connection.AbstractSqlConnection
ch.nolix.base.sql.connection.MsSqlConnection
- All Implemented Interfaces:
Closeable, CloseStateRequestable, GroupCloseable, ISqlConnection, AutoCloseable
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionstatic MsSqlConnectiontoHostAndPortAndWithUserNameAndUserPassword(String host, int port, String userName, String userPassword) static MsSqlConnectiontoLocalHostAndPortAndWithUserNameAndUserPassword(int port, String userName, String userPassword) Methods inherited from class AbstractSqlConnection
executeStatement, executeStatements, executeStatements, getDatabaseEngine, getRecordsFromQuery, getSingleRecordFromQuery, getStoredCloseController, noteCloseMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseStateRequestable
isOpenMethods inherited from interface GroupCloseable
close, createCloseDependencyTo, isClosed
-
Method Details
-
toHostAndPortAndWithUserNameAndUserPassword
public static MsSqlConnection toHostAndPortAndWithUserNameAndUserPassword(String host, int port, String userName, String userPassword) -
toLocalHostAndPortAndWithUserNameAndUserPassword
public static MsSqlConnection toLocalHostAndPortAndWithUserNameAndUserPassword(int port, String userName, String userPassword)
-