camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject git commit: CAMEL-6877: Polished.
Date Mon, 21 Oct 2013 11:51:55 GMT
Updated Branches:
  refs/heads/master e6107e22b -> d6a1b230d


CAMEL-6877: Polished.

Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/d6a1b230
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d6a1b230
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d6a1b230

Branch: refs/heads/master
Commit: d6a1b230d836d28ba8c50ef932acb643249f17e6
Parents: e6107e2
Author: Babak Vahdat <bvahdat@apache.org>
Authored: Mon Oct 21 13:51:47 2013 +0200
Committer: Babak Vahdat <bvahdat@apache.org>
Committed: Mon Oct 21 13:51:47 2013 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/camel/example/etl/CustomerEntity.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/d6a1b230/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/CustomerEntity.java
----------------------------------------------------------------------
diff --git a/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/CustomerEntity.java
b/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/CustomerEntity.java
index efc72c5..c566fd9 100644
--- a/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/CustomerEntity.java
+++ b/examples/camel-example-etl/src/main/java/org/apache/camel/example/etl/CustomerEntity.java
@@ -30,10 +30,10 @@ import javax.xml.bind.annotation.XmlRootElement;
  * 
  * @version 
  */
-@Entity
+@Entity(name = "customer")
 @XmlRootElement(name = "customer")
 @XmlAccessorType(XmlAccessType.FIELD)
-@NamedQuery(name = "findCustomerByUsername", query = "SELECT c FROM CustomerEntity c WHERE
c.userName = :userName")
+@NamedQuery(name = "findCustomerByUsername", query = "SELECT c FROM customer c WHERE c.userName
= :userName")
 public class CustomerEntity {
     @XmlAttribute
     private Long id;


Mime
View raw message