Files
spring-integration-samples/intermediate/stored-procedures-derby

Spring Integration - Stored Procedure Example - Derby

Overview

This example provides a simple example using the stored procedure Outbound Gateway adapter. This example will call 2 Derby Stored Procedures.

One procedure uses an Out Parameter to return values and the second procedure returns a ResultSet.

Setup

Just make sure you have Maven set up and that the project builds successfully.

Run the Sample

  • running the "Main" class from within STS (Right-click on Main class --> Run As --> Java Application)

  • or from the command line:

    • mvn package
    • mvn exec:java
  • Follow the screen (command line) instructions.


For help please take a look at the Spring Integration documentation:

http://www.springsource.org/spring-integration