jaikiran pai [
http://community.jboss.org/people/jaikiran] created the discussion
"Re: Provide one datasource with two different JNDI names"
To view the discussion, visit:
http://community.jboss.org/message/571884#571884
--------------------------------------------------------------
Yes, that's possible:
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean code="org.jboss.naming.NamingAlias"
name="org.myapp:alias=myDSAlias">
<attribute name="FromName">aliasJNDIName</attribute>
<attribute name="ToName">java:DefaultDS</attribute>
</mbean>
</server>
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/571884#571884]
Start a new discussion in JNDI and Naming at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]