You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
R3SOL-0 Remove hibernate dependency from ledger persistence lib (#6368)
Removed the dependency on Hibernate and JPA from the ledger persistence library.
Most ledger operations used "Native Queries", so were not leveraging hibernate.
This means that he code dependent on this library does not need to reference JPA or Hibernate.
Copy file name to clipboardExpand all lines: components/ledger/ledger-persistence/src/integrationTest/kotlin/net/corda/ledger/persistence/utxo/tests/UtxoPersistenceServiceImplTest.kt
Copy file name to clipboardExpand all lines: components/ledger/ledger-persistence/src/main/kotlin/net/corda/ledger/persistence/utxo/impl/UtxoRequestHandlerSelectorImpl.kt
Copy file name to clipboardExpand all lines: components/ledger/ledger-persistence/src/test/kotlin/net/corda/ledger/persistence/utxo/UtxoComponentGroupMapperTest.kt
+1
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ class UtxoComponentGroupMapperTest {
Copy file name to clipboardExpand all lines: components/ledger/ledger-persistence/src/test/kotlin/net/corda/ledger/persistence/utxo/impl/UtxoPersistenceServiceImplTest.kt
Copy file name to clipboardExpand all lines: components/ledger/ledger-utxo-flow/src/main/kotlin/net/corda/ledger/utxo/flow/impl/flows/backchain/TransactionBackchainVerifierImpl.kt
+1-1
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ class TransactionBackchainVerifierImpl @Activate constructor(
46
46
val (transaction, status) = utxoLedgerPersistenceService.findSignedLedgerTransactionWithStatus(
47
47
transactionId,
48
48
UNVERIFIED
49
-
) ?:throwCordaRuntimeException("Transaction does not exist locally")
49
+
) ?:throwCordaRuntimeException("Transaction ($UNVERIFIED) with id: $transactionIddoes not exist locally")
Copy file name to clipboardExpand all lines: libs/ledger-lib-persistence/src/main/kotlin/net/corda/ledger/libs/persistence/common/ComponentGroupMapper.kt
0 commit comments