Open main menu

CDOT Wiki β

Changes

User:Minooz/NexJ/database

1 byte removed, 15:42, 15 November 2010
JDBC
<code>jdbc:[drivertype]:[database]</code>
The first part, jdbc, is a constant. It represents that you are connecting to a JDBC data source. The second part, [drivertype], represents the kind of database you want to connect to. Use postgresql to connect to a PostgreSQL database. The third part is passed off to the driver, which finds the actual database. It takes on one of the following formats:
<code> :databasename ://hostname/databasename://hostname:portnumber/databasename
</code>
1
edit