Skip to content

Commit

Permalink
Merge pull request #1026 from phongphan/jndi-prefix-doc-config
Browse files Browse the repository at this point in the history
Add documentation for jndi: prefix support
  • Loading branch information
asolntsev authored Nov 14, 2016
2 parents 29ea622 + 7f9c01f commit 78b0eb0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion documentation/manual/configuration.textile
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,11 @@ To reuse an existing Datasource from your application server:

bc. db=java:/comp/env/jdbc/myDatasource@

If you specify a @Datasource@, the database plugin detects the pattern @db=java:@ and will de-activate the default JDBC system.
And for application server where Datasource doesn't have @java:@ prefix (Glassfish and its derivative), you could use @jndi:@ instead. The @jndi:@ prefix will be omitted:

bc. db=jndi:jdbc/myDataSource

If you specify a @Datasource@, the database plugin detects the pattern @db=java:@ and @db=jndi:@ and will de-activate the default JDBC system.

Default: none.

Expand Down

0 comments on commit 78b0eb0

Please sign in to comment.