[ 
https://issues.apache.org/jira/browse/DELTASPIKE-965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14643038#comment-14643038
 ] 

ASF GitHub Bot commented on DELTASPIKE-965:
-------------------------------------------

GitHub user hwellmann opened a pull request:

    https://github.com/apache/deltaspike/pull/40

    DELTASPIKE-965 use query parameter to interpolate ID value

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hwellmann/deltaspike DELTASPIKE-965

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/deltaspike/pull/40.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #40
    
----
commit e56035aa82babce38ec092a73e45a33488f681e5
Author: Harald Wellmann <[email protected]>
Date:   2015-07-27T16:04:07Z

    DELTASPIKE-965 failing test demonstrating the problem

commit b11d8174bf4a090db6b78666f06aeab04555b37b
Author: Harald Wellmann <[email protected]>
Date:   2015-07-27T16:07:31Z

    DELTASPIKE-965 Use query parameter to properly interpolate ID values

----


> EntityRepository.save() is broken for entities with String ID
> -------------------------------------------------------------
>
>                 Key: DELTASPIKE-965
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-965
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: Data-Module
>    Affects Versions: 1.4.2
>            Reporter: Harald Wellmann
>            Assignee: Daniel Cunha (soro)
>            Priority: Blocker
>             Fix For: 1.4.3
>
>
> EntityRepository.save() generates illegal SQL when the entity identity is of 
> String type.
> This is a regression introduced in 1.4.2 with 
> {{org.apache.deltaspike.data.impl.handler.CdiQueryInvocationContext.countCheck(Object)}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to