You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/10/18 23:23:57 UTC

[sling-org-apache-sling-datasource] 13/35: SLING-3735 - support JNDI lookup in JDBC DataSource Provider

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-datasource.git

commit 88862a56cee813c8fe45ff8e1e513c5b2d564d75
Author: Chetan Mehrotra <ch...@apache.org>
AuthorDate: Mon Nov 10 07:35:34 2014 +0000

    SLING-3735 - support JNDI lookup in JDBC DataSource Provider
    
    Update the help doc
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1637804 13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/datasource/internal/JNDIDataSourceFactory.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/datasource/internal/JNDIDataSourceFactory.java b/src/main/java/org/apache/sling/datasource/internal/JNDIDataSourceFactory.java
index 07108ec..925b548 100644
--- a/src/main/java/org/apache/sling/datasource/internal/JNDIDataSourceFactory.java
+++ b/src/main/java/org/apache/sling/datasource/internal/JNDIDataSourceFactory.java
@@ -71,7 +71,8 @@ public class JNDIDataSourceFactory {
     @Property(
             label = "JNDI Properties",
             description = "Set the environment for the JNDI InitialContext i.e. properties passed on to InitialContext " +
-                    "for performing the JNDI instance lookup",
+                    "for performing the JNDI instance lookup. Each row form a map entry where each row format be propertyName=property " +
+                    "e.g. java.naming.factory.initial=exampleFactory",
             value = {},
             cardinality = 1024)
     static final String PROP_JNDI_PROPS = "jndi.properties";

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.