Once you create the MLLP database, you can connect to it from the inbound TCP/IP HL7 Adapter. You do this in the HL7 External Systems properties located in the CAPS Environment you create for the HL7 Project. This procedure assumes you have already created the Environment and that it includes an HL7 External System.
On the NetBeans Services window, expand CAPS Environments, and then expand the HL7 Environment you created for your Project.
Right-click the HL7 External System, and select Properties.
The Properties Editor appears.
In the left pane, expand HL7 Inbound eWay.
Select Database Settings.
In the JNDI Name of the JDBC Datasource property, enter the JNDI name of the JDBC Resource you created under To Create the Connection Pool and JDBC Resource.
Click OK.