| | |
| | | *
|
| | | *
|
| | | * Copyright 2009-2010 Sun Microsystems, Inc.
|
| | | * Portions copyright 2011-2012 ForgeRock AS.
|
| | | * Portions copyright 2011-2013 ForgeRock AS.
|
| | | */
|
| | |
|
| | | package org.forgerock.opendj.virtual;
|
| | |
|
| | | import java.sql.Connection;
|
| | | import java.sql.DatabaseMetaData;
|
| | | import java.sql.DriverManager;
|
| | | import java.sql.SQLException;
|
| | |
|
| | |
| | | * Create a JDBC driver instance which contains all the methods for
|
| | | * connection and commands to the database.
|
| | | */
|
| | |
|
| | | public class JDBCConnectionFactory {
|
| | | String driverName = "com.mysql.jdbc.Driver";
|
| | | Connection con = null;
|
| | |
|
| | | private String driverName = "com.mysql.jdbc.Driver";
|
| | | private Connection con = null;
|
| | |
|
| | | public JDBCConnectionFactory() {
|
| | | try {
|