closeConnection(java.sql.Connection)
closeConnection(java.sql.Connection, java.sql.PreparedStatement)
OLD_DEFAULT_DRIVER
loadClass(java.lang.String)
function that loads the class with the data passed by parameter
after he try
to import the driver, if he catch
an ClassNotFoundException
he will throw
a RuntimeException
if he imported the driver with success, he will try
to connect to the database, if he catch
an SQLException
he will throw
RuntimeException
loadClass(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
function that loads the class with the data passed by parameter
after he try
to import the driver, if he catch
an ClassNotFoundException
he will throw
a RuntimeException
if he imported the driver with success, he will try
to connect to the database, if he catch
an SQLException
he will throw
RuntimeException
loadClass(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
function that loads the class with the data passed by parameter
after he try
to import the driver, if he catch
an ClassNotFoundException
he will throw
a RuntimeException
if he imported the driver with success, he will try
to connect to the database, if he catch
an SQLException
he will throw
RuntimeException
throw
NullPointerException
throw
NullPointerException
The Driver receives by default: DEFAULT_DRIVER
, however, it can be getConnection(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
throw
NullPointerException
It receives by default: DEFAULT_HOST
, however, it can be
modified by calling the getConnection()
method by passing host as a parameter
if you don't know or use a standard Host, try to use the DEFAULT_HOST
throw
NullPointerException
It receives by default: DEFAULT_PASSWORD
, however, it can be
modified by calling the getConnection()
method by passing password as a parameter
if you don't know or use a standard Password, try to use the DEFAULT_USER
throw
NullPointerException
It receives by default: DEFAULT_PORT
, however, it can be
modified by calling the getConnection()
method by passing port as a parameter
if you don't know or use a standard Port, try to use the DEFAULT_PORT
throw
NullPointerException
if you don't know or use a standard Url, try to use the getURL(java.lang.String, java.lang.String, java.lang.String)
throw
NullPointerException
It receives by default: DEFAULT_USER
, however, it can be
modified by calling the getConnection()
method by passing User as a parameter
if you don't know or use a standard User, try to use the DEFAULT_USER
DEFAULT_DRIVER
loadClass(java.lang.String)
Copyright © 2021. All rights reserved.