|
|
|
JDBC
|
Connecting to a MySQL Database in Java
In java we have been provided with some classes and APIs with which we can make use of the database as we like. Database plays as very important role in the programming because we have to store the values somewhere in the back- end.
View Rating |
|
|
JDBC
|
Mapping MySQL Data Types in Java
Data types of MySQL and Java programming language are not same, its need some mechanism for transferring data between an database using MySQL data types and a application using Java data types.
View Rating |
|
|
JDBC
|
Understanding Connection Object
A Connection object represents a connection with a database. When we connect to a database by using connection method, we create a Connection Object, which represents the connection to the database.
View Rating |
|
|
JDBC
|
Important JDBC Concepts
Transactions: Whenever a connection is created by using the JDBC, then by default it is in auto- commit mode. This means that SQL statement will be automatically committed immediately after it is executed and it is treated as a transaction.
View Rating |
|
|