Skip navigation links
C D G M O R 

C

cleanFactory() - Static method in class com.MySQL.Connection.MySQLConnectionFactory
Clean the class fields - DRIVER
- HOST
- PORT
- DATABASE
- USER
- PASSWORD
- URL
closeConnection(Connection) - Static method in class com.MySQL.Connection.MySQLConnectionFactory
Method responsible for closing the connection
closeConnection(Connection, PreparedStatement) - Static method in class com.MySQL.Connection.MySQLConnectionFactory
Method responsible for closing the connection It Calls The closeConnection(java.sql.Connection)
closeConnection(Connection, PreparedStatement, ResultSet) - Static method in class com.MySQL.Connection.MySQLConnectionFactory
Method responsible for closing the connection It Calls The closeConnection(java.sql.Connection, java.sql.PreparedStatement)
com.MySQL.Connection - package com.MySQL.Connection
 

D

DEFAULT_DRIVER - Static variable in class com.MySQL.Connection.MySQLConnectionFactory
Default Driver Location This driver refers to the latest JDBC (mysql-connector-java 8.0.22) if you use an older JDBC such as mysql-connector-java 5.1.48, then use OLD_DEFAULT_DRIVER
DEFAULT_HOST - Static variable in class com.MySQL.Connection.MySQLConnectionFactory
Default Database Host
DEFAULT_PASSWORD - Static variable in class com.MySQL.Connection.MySQLConnectionFactory
Default Database Password Registred
DEFAULT_PORT - Static variable in class com.MySQL.Connection.MySQLConnectionFactory
Default Database Port
DEFAULT_USER - Static variable in class com.MySQL.Connection.MySQLConnectionFactory
Default Database User Registred

G

getConnection(String) - Static method in class com.MySQL.Connection.MySQLConnectionFactory
Method responsible for making a connection first It Calls The 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
getConnection(String, String, String, String, String) - Static method in class com.MySQL.Connection.MySQLConnectionFactory
Method responsible for making a connection first It Calls The 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
getConnection(String, String, String, String, String, String) - Static method in class com.MySQL.Connection.MySQLConnectionFactory
Method responsible for making a connection first It Calls The 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
getDATABASE() - Static method in class com.MySQL.Connection.MySQLConnectionFactory
AVOID USING IF A CONNECTION HAS NOT BEEN CREATED OR CAN throw NullPointerException
getDRIVER() - Static method in class com.MySQL.Connection.MySQLConnectionFactory
AVOID USING IF A CONNECTION HAS NOT BEEN CREATED OR CAN throw NullPointerException The Driver receives by default: DEFAULT_DRIVER, however, it can be
modified by calling the getConnection(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
method by passing briver as a parameter
getHOST() - Static method in class com.MySQL.Connection.MySQLConnectionFactory
AVOID USING IF A CONNECTION HAS NOT BEEN CREATED OR CAN 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
getPASSWORD() - Static method in class com.MySQL.Connection.MySQLConnectionFactory
AVOID USING IF A CONNECTION HAS NOT BEEN CREATED OR CAN 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
getPORT() - Static method in class com.MySQL.Connection.MySQLConnectionFactory
AVOID USING IF A CONNECTION HAS NOT BEEN CREATED OR CAN 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
getURL(String, String, String) - Static method in class com.MySQL.Connection.MySQLConnectionFactory
Generate URL to connect whit Database
getURL() - Static method in class com.MySQL.Connection.MySQLConnectionFactory
AVOID USING IF A CONNECTION HAS NOT BEEN CREATED OR CAN 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)
getUSER() - Static method in class com.MySQL.Connection.MySQLConnectionFactory
AVOID USING IF A CONNECTION HAS NOT BEEN CREATED OR CAN 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

M

MySQLConnectionFactory - Class in com.MySQL.Connection
A Class to connect at MySQL For this, Is used the MySQL Connector java 8.0.22
MySQLConnectionFactory() - Constructor for class com.MySQL.Connection.MySQLConnectionFactory
 

O

OLD_DEFAULT_DRIVER - Static variable in class com.MySQL.Connection.MySQLConnectionFactory
Default Driver Location This driver refers to older JDBCs as mysql-connector-java 5.1.48 if you use a newer JDBC, like mysql-connector-java 8.0.22, use DEFAULT_DRIVER

R

resetFactory() - Static method in class com.MySQL.Connection.MySQLConnectionFactory
Reset the class fields - DRIVER
- HOST
- PORT
- DATABASE
- USER
- PASSWORD
- URL
This function call loadClass(java.lang.String)
C D G M O R 
Skip navigation links

Copyright © 2021. All rights reserved.