Hi guys,

Currently we have single set of properties that are passed from 
RARDeployer down to jdbc.xa.XAManagedConnectionFactory. This single set 
is used in two places. First, when xa datasource is being initialized 
the properties are used to set attributes of the datasource (exception 
is thrown, if a propety does not have corresponding attribute). Second, 
when xa connection is created we use same properties to get username and 
password for new connection, this is done using specific property names 
"user" and "password". Obviously, if datasource does not have  "user" 
and/or "password" attribute there is no way we can pass those two 
parameters to XADataSource.getXAConnection(String, String) call.

Possible solution would be to use special naming convention for "user" 
and "password" properties (like "XADataSource:user" or something that 
cannot be confused with attribute name). When we initialize a datasource 
we ignore such special properties.

Thoughts?

-- 
Igor Fedorenko
Think smart. Think automated. Think Dynamics.
www.thinkdynamics.com



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to