killbill-memoizeit

Details

diff --git a/payment/src/main/java/com/ning/billing/payment/dao/PaymentAttemptModelDao.java b/payment/src/main/java/com/ning/billing/payment/dao/PaymentAttemptModelDao.java
index d1c8504..058288c 100644
--- a/payment/src/main/java/com/ning/billing/payment/dao/PaymentAttemptModelDao.java
+++ b/payment/src/main/java/com/ning/billing/payment/dao/PaymentAttemptModelDao.java
@@ -49,7 +49,7 @@ public class PaymentAttemptModelDao extends EntityBase implements EntityModelDao
                                   final UUID accountId, final UUID invoiceId,
                                   final UUID paymentId, final UUID paymentMethodId,
                                   final PaymentStatus processingStatus, final DateTime effectiveDate,
-                                  final BigDecimal requestedAmount, Currency requestedCurrency,
+                                  final BigDecimal requestedAmount, final Currency requestedCurrency,
                                   final String gatewayErrorCode, final String gatewayErrorMsg) {
         super(id, createdDate, updatedDate);
         this.accountId = accountId;
diff --git a/payment/src/main/resources/com/ning/billing/payment/dao/PaymentAttemptSqlDao.sql.stg b/payment/src/main/resources/com/ning/billing/payment/dao/PaymentAttemptSqlDao.sql.stg
index 071968b..15c73bb 100644
--- a/payment/src/main/resources/com/ning/billing/payment/dao/PaymentAttemptSqlDao.sql.stg
+++ b/payment/src/main/resources/com/ning/billing/payment/dao/PaymentAttemptSqlDao.sql.stg
@@ -7,6 +7,7 @@ tableFields(prefix) ::= <<
 , <prefix>gateway_error_msg
 , <prefix>processing_status
 , <prefix>requested_amount
+, <prefix>requested_currency
 , <prefix>created_by
 , <prefix>created_date
 , <prefix>updated_by
@@ -20,6 +21,7 @@ tableValues() ::= <<
 , :gatewayErrorMsg
 , :processingStatus
 , :requestedAmount
+, :requestedCurrency
 , :createdBy
 , :createdDate
 , :updatedBy