Skip to content

Commit

Permalink
Add documentation for jndi: prefix support
Browse files Browse the repository at this point in the history
  • Loading branch information
phongphan committed Nov 14, 2016
1 parent 9d7fb09 commit aae419b
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 @@ -257,7 +257,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 aae419b

Please sign in to comment.