[jboss-cvs] JBossAS SVN: r69571 - branches/Branch_4_2/connector/src/main/org/jboss/resource/adapter/jdbc/xa.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 4 05:21:51 EST 2008


Author: vicky.kak at jboss.com
Date: 2008-02-04 05:21:50 -0500 (Mon, 04 Feb 2008)
New Revision: 69571

Modified:
   branches/Branch_4_2/connector/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnectionFactory.java
Log:
JBAS-4662 changes.

Modified: branches/Branch_4_2/connector/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnectionFactory.java
===================================================================
--- branches/Branch_4_2/connector/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnectionFactory.java	2008-02-04 09:23:28 UTC (rev 69570)
+++ branches/Branch_4_2/connector/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnectionFactory.java	2008-02-04 10:21:50 UTC (rev 69571)
@@ -222,6 +222,11 @@
             {
                String name = (String) i.next();
                String value = xaProps.getProperty(name);
+               char firstCharName = Character.toUpperCase(name.charAt(0));
+           	   if (name.length() > 1)
+            	       name = firstCharName+name.substring(1);
+           	   else
+            		   name = ""+firstCharName;            	   
                //This is a bad solution.  On the other hand the only known example
                // of a setter with no getter is for Oracle with password.
                //Anyway, each xadatasource implementation should get its




More information about the jboss-cvs-commits mailing list