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

ASF GitHub Bot commented on EAGLE-291:
--------------------------------------

GitHub user Jashchahal opened a pull request:

    https://github.com/apache/incubator-eagle/pull/193

    EAGLE-291 : JDBC: Update transactions fail in PostgreSQL

    The transactions in Postgres was failing due to insert fail transaction 
already in progress and we were trying to update if insert fails. Need to 
rollback the failed insert transaction and then continue with update 
transaction. Postgres is more strict as compared to MySql, so we need save 
point so that we can roll it back, if required.

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

    $ git pull https://github.com/Jashchahal/incubator-eagle master

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

    https://github.com/apache/incubator-eagle/pull/193.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 #193
    
----
commit 1b82257146fbc1f63ec3061f5cc009e7f3fa6a6b
Author: Jaspaul <jashcha...@gmail.com>
Date:   2016-05-20T22:29:31Z

    EAGLE-291 : JDBC: Update transactions fail in PostgreSQL

----


> JDBC: Update transactions fail in PostgreSQL
> --------------------------------------------
>
>                 Key: EAGLE-291
>                 URL: https://issues.apache.org/jira/browse/EAGLE-291
>             Project: Eagle
>          Issue Type: Bug
>    Affects Versions: v0.3.0
>         Environment: Linux, PostgreSQL 9.1  as metadata store.
>            Reporter: Jaspaul Chahal
>             Fix For: v0.4.0
>
>
> When it tries to update some entity, throws the following exception: 
> org.apache.torque.TorqueException: org.postgresql.util.PSQLException: ERROR: 
> current transaction is aborted, commands ignored until end of transaction 
> block.



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

Reply via email to