fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [fineract] vorburger commented on a change in pull request #1140: FINERACT-1065: Fixing integration test issues
Date Fri, 03 Jul 2020 14:07:54 GMT

vorburger commented on a change in pull request #1140:

File path: fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/domain/
@@ -21,11 +21,13 @@
 public interface SavingsAccountTransactionRepository
         extends JpaRepository<SavingsAccountTransaction, Long>, JpaSpecificationExecutor<SavingsAccountTransaction>
     @Query("select sat from SavingsAccountTransaction sat where = :transactionId and = :savingsId")
-    SavingsAccountTransaction findOneByIdAndSavingsAccountId(Long transactionId, Long savingsId);
+    SavingsAccountTransaction findOneByIdAndSavingsAccountId(@Param("transactionId") Long
+            @Param("savingsId") Long savingsId);

Review comment:
       @awasum @ptuomola I think it should work without this - but there is a subtlety: Spring
can only find out the name of parameters if code is compiled with `-parameters`; NB e.g. _To
store formal parameter names in a particular .class file, and thus enable the Reflection API
to retrieve formal parameter names, compile the source file with the -parameters option to
the javac compiler._ on
To be able to run in Eclipse, you need to enable
In an ideal world, we could figure out how to add this to Gradle to have Buildship do that..
or we could keep a `.settings/` in Git.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message