Table of Contents

Class DriverManager

Namespace
Java.Sql
Assembly
MASES.JNet.dll
public class DriverManager : JVMBridgeBase<DriverManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<DriverManager>
DriverManager
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<DriverManager>.IsAssignableFrom(IJavaType)
JVMBridgeBase<DriverManager>.IsAssignableFrom<T>()
JVMBridgeBase<DriverManager>.Execute<T>(params T[])
JVMBridgeBase<DriverManager>.DynBridgeClazz
JVMBridgeBase<DriverManager>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

DriverManager()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public DriverManager()

DriverManager(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public DriverManager(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

LogWriter

public static PrintWriter LogWriter { get; set; }

Property Value

PrintWriter

LoginTimeout

public static int LoginTimeout { get; set; }

Property Value

int

Methods

DeregisterDriver(Driver)

public static void DeregisterDriver(Driver arg0)

Parameters

arg0 Driver

Driver

Exceptions

SQLException

Drivers()

public static Stream<Driver> Drivers()

Returns

Stream<Driver>

Stream

GetConnection(String)

public static Connection GetConnection(String arg0)

Parameters

arg0 String

String

Returns

Connection

Connection

Exceptions

SQLException

GetConnection(String, String, String)

public static Connection GetConnection(String arg0, String arg1, String arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 String

String

Returns

Connection

Connection

Exceptions

SQLException

GetConnection(String, Properties)

public static Connection GetConnection(String arg0, Properties arg1)

Parameters

arg0 String

String

arg1 Properties

Properties

Returns

Connection

Connection

Exceptions

SQLException

GetDriver(String)

public static Driver GetDriver(String arg0)

Parameters

arg0 String

String

Returns

Driver

Driver

Exceptions

SQLException

GetDrivers()

public static Enumeration<Driver> GetDrivers()

Returns

Enumeration<Driver>

Enumeration

Println(String)

public static void Println(String arg0)

Parameters

arg0 String

String

RegisterDriver(Driver)

public static void RegisterDriver(Driver arg0)

Parameters

arg0 Driver

Driver

Exceptions

SQLException

RegisterDriver(Driver, DriverAction)

public static void RegisterDriver(Driver arg0, DriverAction arg1)

Parameters

arg0 Driver

Driver

arg1 DriverAction

DriverAction

Exceptions

SQLException