You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/10/19 13:05:52 UTC

[jira] Created: (CAMEL-2078) camel-jpa - JpaProducer should mandate body instead of creating a new empty instance

camel-jpa - JpaProducer should mandate body instead of creating a new empty instance
------------------------------------------------------------------------------------

                 Key: CAMEL-2078
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2078
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-jpa
    Affects Versions: 2.0.0, 1.6.1
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.1.0


If you send an empty body to a JpaProducer it will create a new empty instance of that type which then gets inserted.

Camel should thrown an exception indicate a body is missing

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-2078) camel-jpa - JpaProducer should mandate body instead of creating a new empty instance

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-2078.
--------------------------------

    Resolution: Fixed

trunk: 826642.

> camel-jpa - JpaProducer should mandate body instead of creating a new empty instance
> ------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2078
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2078
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jpa
>    Affects Versions: 1.6.1, 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> If you send an empty body to a JpaProducer it will create a new empty instance of that type which then gets inserted.
> Camel should thrown an exception indicate a body is missing

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.