Skip to content

Commit

Permalink
TEIIDDES-2235 setting JNDI name in profile properties to JNDI name
Browse files Browse the repository at this point in the history
instead of pool/DS name
  • Loading branch information
blafond committed Jul 7, 2014
1 parent 25050f9 commit 3430d8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ private boolean injectProfileIntoTarget(final IProgressMonitor monitor) {
IConnectionInfoProvider connInfoProvider = manager.getProviderFromProfileID("org.teiid.designer.datatools.profiles.jbossds.JBossDsConnectionProfile"); //$NON-NLS-1$
ProfileManager pm = ProfileManager.getInstance();
Properties props = new Properties();
props.put(IJBossDsProfileConstants.JNDI_PROP_ID, getDataSourceName());
props.put(IJBossDsProfileConstants.JNDI_PROP_ID, getDataSourceJndiName());
props.put(IJBossDsProfileConstants.TRANSLATOR_PROP_ID, getTranslatorName());
try {
String dsName = getDataSourceName();
Expand Down

0 comments on commit 3430d8a

Please sign in to comment.