JNDIENC=jndiEnc
jndiEnc | The JNDI ENC specification. |
Default: | An empty string. |
Used at compile time: | Yes |
Behavior at run time: | Process |
See Scope - OpenESQL SQL Compiler Directive Options for more information.
# Use an Environment Naming Context (ENC) org.osjava.sj.space=java:/comp/env # LDAP/XPath like delimiters org.osjava.sj.delimiter=/JNDIENC is not required when using Simple-JNDI in standalone applications; however, it can be useful if you intend to deploy your standalone application to a Java application server because it eliminates the need to change the JNDIENC setting when switching between test and deployment environments.
SQL(JNDIENC=java:/comp/env)