Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 9. jdbc


9.1. jdbc:ds-create

9.1.1. Description

Create a JDBC datasource config for pax-jdbc-config from a DataSourceFactory

9.1.2. Syntax

jdbc:ds-create [options] name

9.1.3. Arguments

Expand
NameDescription

name

The JDBC datasource name

9.1.4. Options

Expand
NameDescription

-p, --password

The database password

--help

Display this help message

-dt, --databaseType

The database type (ConnectionPoolDataSource, XADataSource or DataSource)

-dbName

Database name to use

-dn, --driverName

org.osgi.driver.name property of the DataSourceFactory

-url

The JDBC URL to use

-dc, --driverClass

org.osgi.driver.class property of the DataSourceFactory

-u, --username

The database username

9.2. jdbc:ds-delete

9.2.1. Description

Delete a JDBC datasource

9.2.2. Syntax

jdbc:ds-delete [options] name

9.2.3. Arguments

Expand
NameDescription

name

The JDBC datasource name (the one used at creation time)

9.2.4. Options

Expand
NameDescription

--help

Display this help message

9.3. jdbc:ds-factories

9.3.1. Description

List the JDBC DataSourceFactories

9.3.2. Syntax

jdbc:ds-factories [options]

9.3.3. Options

Expand
NameDescription

--help

Display this help message

9.4. jdbc:ds-info

9.4.1. Description

Display details about a JDBC datasource

9.4.2. Syntax

jdbc:ds-info [options] datasource

9.4.3. Arguments

Expand
NameDescription

datasource

The JDBC datasource name

9.4.4. Options

Expand
NameDescription

--help

Display this help message

9.5. jdbc:ds-list

9.5.1. Description

List the JDBC datasources

9.5.2. Syntax

jdbc:ds-list [options]

9.5.3. Options

Expand
NameDescription

--help

Display this help message

9.6. jdbc:execute

9.6.1. Description

Execute a SQL command on a given JDBC datasource

9.6.2. Syntax

jdbc:execute [options] datasource command

9.6.3. Arguments

Expand
NameDescription

datasource

The JDBC datasource

command

The SQL command to execute

9.6.4. Options

Expand
NameDescription

--help

Display this help message

9.7. jdbc:query

9.7.1. Description

Execute a SQL query on a JDBC datasource

9.7.2. Syntax

jdbc:query [options] datasource query

9.7.3. Arguments

Expand
NameDescription

datasource

The JDBC datasource to use

query

The SQL query to execute

9.7.4. Options

Expand
NameDescription

--help

Display this help message

9.8. jdbc:tables

9.8.1. Description

List the tables on a given JDBC datasource

9.8.2. Syntax

jdbc:tables [options] datasource

9.8.3. Arguments

Expand
NameDescription

datasource

The JDBC datasource to use

9.8.4. Options

Expand
NameDescription

--help

Display this help message

Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat