Simplest way of persisting Java Objects using Apache Camel ?
Posted
by
sanre6
on Stack Overflow
See other posts from Stack Overflow
or by sanre6
Published on 2010-12-27T04:47:39Z
Indexed on
2010/12/27
4:53 UTC
Read the original article
Hit count: 188
jdbc
|apache-camel
Can JDBC component be used for inserting Java objects into a Mysql database ? I want to store Java objects that i am routing through message exchanges into a database using spring xml .
i have never used hibernate before , so cannot use the hibernate or JPA components
Ex Code :
<from uri="bean:MessageProducer?method=send" /> /* bean sending the objects */
/* what code do i need to write for insertion of these Objects into testdb */
<to uri="jdbc:testdb"/>
© Stack Overflow or respective owner