Database Support for JSP Hosting customers

Which Databases Does Netregistry Support?

Currently we are supporting both MySQL and PostgreSQL databases. See below for connectivity information.

Using JDBC to connect to a Database

To begin working with JDBC, a Connection Object needs to be acquired. The Connection Object symbolises the network connection to the database that holds the data to be manipulated.

When using JDBC, the generation of connections is created by the DriverManager, which needs to be instructed about which JDBC drivers it should connect to. This can be done simply by using Class.forName() on the Class that instigates the interface for the java.sql.Driver. For example MM.MySQL uses the Class called org.gjt.mm.mysql.Driver.

Click here for Code Example - Registering the Driver with the DriverManager and Obtaining a Connection from the DriverManager.

For more information on JDBC, please visit the following sites:

© 1997- 2008 Netregistry Pty Ltd