ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r707337 - /webservices/sandesha/trunk/java/modules/persistence/src/main/java/org/apache/sandesha2/storage/jdbc/JDBCTransaction.java
Date Thu, 23 Oct 2008 10:23:03 GMT
Author: amilas
Date: Thu Oct 23 03:23:03 2008
New Revision: 707337

URL: http://svn.apache.org/viewvc?rev=707337&view=rev
Log:
make the first letter lower case

Modified:
    webservices/sandesha/trunk/java/modules/persistence/src/main/java/org/apache/sandesha2/storage/jdbc/JDBCTransaction.java

Modified: webservices/sandesha/trunk/java/modules/persistence/src/main/java/org/apache/sandesha2/storage/jdbc/JDBCTransaction.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/persistence/src/main/java/org/apache/sandesha2/storage/jdbc/JDBCTransaction.java?rev=707337&r1=707336&r2=707337&view=diff
==============================================================================
--- webservices/sandesha/trunk/java/modules/persistence/src/main/java/org/apache/sandesha2/storage/jdbc/JDBCTransaction.java
(original)
+++ webservices/sandesha/trunk/java/modules/persistence/src/main/java/org/apache/sandesha2/storage/jdbc/JDBCTransaction.java
Thu Oct 23 03:23:03 2008
@@ -32,50 +32,50 @@
  */
 public class JDBCTransaction implements Transaction {
 	private PersistentStorageManager pmgr = null;
-	private Connection DbConnection = null;
+	private Connection dbConnection = null;
 	private boolean active = false;
 	private Log log = LogFactory.getLog(getClass());
-	
+
 	public JDBCTransaction (PersistentStorageManager pmgr)
 	{
 		log.debug("new JDBCTransaction");
 		try {
 		  this.pmgr = pmgr;
-		  DbConnection = pmgr.dbConnect();
-		  DbConnection.setAutoCommit(false);
+		  dbConnection = pmgr.dbConnect();
+		  dbConnection.setAutoCommit(false);
 		  active = true;
 		} catch (Exception ex) {}
 	}
-	
+
 	public Connection getDbConnection()
 	{
-		return DbConnection;
+		return dbConnection;
 	}
-	
+
 	private void freeTransaction()
 	{
 		try {
-			DbConnection.close();
+			dbConnection.close();
 			pmgr.removeTransaction();
 		} catch (Exception ex) {}
-		
+
 	}
-		
+
 	public void commit()
 	{
 		log.debug("commit JDBCTransaction");
 		try {
-		  DbConnection.commit();
+		  dbConnection.commit();
 		  freeTransaction();
 		} catch (Exception ex) {}
 		active = false;
 	}
-	
+
 	public void rollback()
 	{
 		log.debug("rollback JDBCTransaction");
 		try {
-			  DbConnection.rollback();
+			  dbConnection.rollback();
 			  freeTransaction();
 			} catch (Exception ex) {}
 		active = false;



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


Mime
View raw message