You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: documentation/manual/configuration.textile
+5-1
Original file line number
Diff line number
Diff line change
@@ -266,7 +266,11 @@ To reuse an existing Datasource from your application server:
266
266
267
267
bc. db=java:/comp/env/jdbc/myDatasource@
268
268
269
-
If you specify a @Datasource@, the database plugin detects the pattern @db=java:@ and will de-activate the default JDBC system.
269
+
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:
270
+
271
+
bc. db=jndi:jdbc/myDataSource
272
+
273
+
If you specify a @Datasource@, the database plugin detects the pattern @db=java:@ and @db=jndi:@ and will de-activate the default JDBC system.
0 commit comments