en.help.task-setdbaccess.html Maven / Gradle / Ivy
Show all versions of console-jdbc-plugin Show documentation
To Set Up Database Access
To store, organize, and retrieve data, most applications use relational databases.
GlassFish Server includes a copy of the Java DB database and is preconfigured with the ability to access this database.
-
Install a supported database product.
For a list of supported databases, see Eclipse GlassFish Release Notes.
-
Install a driver supporting the JDBC API (JDBC driver) for the database.
Ensure that the driver you want to use to create database connections is installed on all servers on which you want to deploy the data source.
-
Ensure that the driver's JAR file is accessible to the domain's server instance.
-
Create the database.
Usually, the application provider delivers scripts for creating and populating the database.
-
Create a connection pool for the database.
-
Create a JDBC resource that points to the connection pool.
See Also
-
-
-
-
-
-
-
-
-
-
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices