Permalink
Browse files

New example for using SQL component

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@1435103 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent fc441c5 commit 6516838e048ceb7b9be2d819620f1d4f311b46a9 @davsclaus davsclaus committed Jan 18, 2013
@@ -53,7 +53,6 @@
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
- <scope>test</scope>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
@@ -16,6 +16,7 @@
## ------------------------------------------------------------------------
## START SNIPPET: e1
+## notice we use named parameters in the queries, eg :#name. A named query parameter must start with :#
## sql that insert new orders
sql.insertOrder=insert into orders (id, item, amount, description, processed) values (:#id, :#item, :#amount, :#description, false)

0 comments on commit 6516838

Please sign in to comment.