From 80509f9ba28db88a60447da3f151ea88757137a8 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Wed, 23 Oct 2013 11:03:47 -0700 Subject: [PATCH] Update to new Transaction API --- server/src/com/cloud/server/ConfigurationServerImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/com/cloud/server/ConfigurationServerImpl.java b/server/src/com/cloud/server/ConfigurationServerImpl.java index 51f99d6e529..0676db8ca18 100755 --- a/server/src/com/cloud/server/ConfigurationServerImpl.java +++ b/server/src/com/cloud/server/ConfigurationServerImpl.java @@ -311,7 +311,7 @@ public class ConfigurationServerImpl extends ManagerBase implements Configuratio private void templateDetailsInitIfNotExist(long id, String name, String value) { - Transaction txn = Transaction.currentTxn(); + TransactionLegacy txn = TransactionLegacy.currentTxn(); PreparedStatement stmt = null; PreparedStatement stmtInsert = null; boolean insert = false; @@ -345,7 +345,7 @@ public class ConfigurationServerImpl extends ManagerBase implements Configuratio private void initiateXenServerPVDriverVersion() { String pvdriverversion = Config.XenPVdriverVersion.getDefaultValue(); - Transaction txn = Transaction.currentTxn(); + TransactionLegacy txn = TransactionLegacy.currentTxn(); PreparedStatement pstmt = null; ResultSet rs1 = null; ResultSet rs2 = null;