+1 for this improvements, and thanks for the explanation. 

In our country we use PostgreSQL a lot as the BDMS, so all our
implementations use postgresql :-D

Thanks,
Saludos,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
Fac. 5.
UCI.

De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
nombre de Prabath Abeysekera
Enviado el: domingo, 15 de enero de 2012 8:28
Para: carbon-dev@wso2.org
Asunto: Re: [Carbon-dev] XA Transactions

If we further dig into this issue, each datasource implementation would have
its own set of properties having different names to be populated when
establishing a connection. Therefore, it's obvious that we come across this
sort of issues while dealing with all those types. So we're planning to
improve the current implementation to enhance the support for several
different datasource types. Not only that, with the proposed enhancements to
Carbon datasource implementation, it is planned to provide the ability to
globally define XA datasources so that the user can re-use those datasources
in non-DSS related activities as well.
On Sun, Jan 15, 2012 at 6:29 PM, Prabath Abeysekera <praba...@wso2.com>
wrote:
Hi,

This issue is something specific to PostgreSQL and actually occurs while
trying to populate bean properties of PGXADataSource instances during the
initialization of XA datasources. To further explain the context of the
issue, in dataservices core implementation we use java reflection to extract
out the setter methods of the PGXADataSource class to dynamically populate
properties, username, password and URL that are required to establish
datasource connections upon the given configurations. Although most of the
other XA datasource implementations such as Mysql, Oracle, H2, etc provide
setter methods to directly populate value of the property named
URL, PGXADataSource does not seem to provide that particular utility. As a
result of it, the process of initializing PostgreSQL related XA datasources
fails. 

I'll look into this.

Regards,
Prabath




Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE 
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to