Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Commit 6cb5689

Browse files
committed
Provider name must be set (should remove this but needs testing)
1 parent 2090ed8 commit 6cb5689

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: osgi.enroute.examples.jdbc.addressbook.dao.provider/src/osgi/enroute/examples/jdbc/addressbook/dao/participants/AddressSaveParticipant.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class AddressSaveParticipant implements Participant {
3737
@Reference
3838
TransactionControl transactionControl;
3939

40-
@Reference
40+
@Reference(name="provider")
4141
JDBCConnectionProvider jdbcConnectionProvider;
4242

4343
Connection connection;

Diff for: osgi.enroute.examples.jdbc.addressbook.dao.provider/src/osgi/enroute/examples/jdbc/addressbook/dao/participants/AddressUpdateParticipant.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class AddressUpdateParticipant implements Participant {
3636
@Reference
3737
TransactionControl transactionControl;
3838

39-
@Reference
39+
@Reference(name="provider")
4040
JDBCConnectionProvider jdbcConnectionProvider;
4141

4242
Connection connection;

Diff for: osgi.enroute.examples.jdbc.addressbook.dao.provider/src/osgi/enroute/examples/jdbc/addressbook/dao/provider/AddressDaoImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class AddressDaoImpl implements AddressDao {
4242
@Reference
4343
private Coordinator coordinator;
4444

45-
@Reference
45+
@Reference(name="provider")
4646
JDBCConnectionProvider jdbcConnectionProvider;
4747

4848
@Reference(target = "(name=addressSave)")

0 commit comments

Comments
 (0)