Files
spring-integration-samples/intermediate/stored-procedures-derby
Gunnar Hillert fc2e5890a9 INTSAMPLES-52 - All Samples should use Log4J
INTSAMPLES-52 - Standardize Log4j PatternLayout
Standardize Log4j PatternLayout to **%d{HH:mm:ss.SSS} %-5p [%t][%c] %m%n**.
2012-05-28 09:26:41 -04:00
..

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