The transaction is initiated but not committed :
10:17:22,571 | DEBUG | tenerContainer-1 | JtaTransactionManager
| stractPlatformTransactionManager 371 | Creating new transaction
with name [com.goodyear.emea.gicl.esb.service.Persistence.save]:
PROPAGATION_REQUIRED,ISOLATION_DEFAULT
10:17:22,571 | DEBUG | tenerContainer-1 | EntityManagerFactoryUtils
| rm.jpa.EntityManagerFactoryUtils 194 | Opening JPA
EntityManager
10:17:22,571 | DEBUG | tenerContainer-1 | EntityManagerFactoryUtils
| rm.jpa.EntityManagerFactoryUtils 199 | Registering transaction
synchronization for JPA EntityManager
10:17:24,540 | DEBUG | tenerContainer-1 | EntityManagerFactoryUtils
| rm.jpa.EntityManagerFactoryUtils 313 | Closing JPA
EntityManager
10:17:24,540 | DEBUG | tenerContainer-1 | JtaTransactionManager
| stractPlatformTransactionManager 730 | Initiating transaction
commit
10:17:24,540 | INFO | tenerContainer-1 | route12
| rg.apache.camel.processor.Logger 212 | >>> Message saved in the
DB : queue_validated_ID_dell-charles-1187-1273561858774-2_6_1_1_2
Kind regards,
Charles Moulliard
Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel Committer
*******************************************************************
- Blog : http://cmoulliard.blogspot.com
- Twitter : http://twitter.com/cmoulliard
- Linkedlin : http://www.linkedin.com/in/charlesmoulliard
On Tue, May 11, 2010 at 9:36 AM, iocanel <[email protected]> wrote:
>
>
> cmoulliard wrote:
>>
>> I don't have any errors except that the transaction is not started
>> with begin / commit. Even if I use EclipseLink or Hibernate JPA, I see
>> in the stack trace the SQL SELECT done one the DB but no insert
>>
>
> Hi Charles,
>
> If the problem is that the transaction is not started (resulting in an error
> that indicates that a transaction is not active) then my solution will not
> solve your problem. In this case we should review the overall configuration.
>
>
> -----
> Ioannis Canellos
> --
> View this message in context:
> http://old.nabble.com/Data-not-inserted-into-DB-%28Camel-Bean---EclipseLink---Spring-DM---SMX--4.2%29-%21%21-tp28475358p28520916.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>