You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2011/09/02 01:08:09 UTC

[jira] [Created] (OOZIE-40) OpenJPA default timestamp type for Postgres has issues

OpenJPA default timestamp type for Postgres has issues
------------------------------------------------------

                 Key: OOZIE-40
                 URL: https://issues.apache.org/jira/browse/OOZIE-40
             Project: Oozie
          Issue Type: Bug
            Reporter: Alejandro Abdelnur
            Assignee: Alejandro Abdelnur


OpenJPA uses ABSTIME as the default type for java.util.Date.

For some odd reason things work fine for a while and then it starts failing with the following exception:

  "org.postgresql.util.PSQLException: Bad value for type timestamp : invalid" OpenJPA



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OOZIE-40) OpenJPA default timestamp type for Postgres has issues

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated OOZIE-40:
------------------------------------

    Attachment: AOOZIE-40v1.patch

> OpenJPA default timestamp type for Postgres has issues
> ------------------------------------------------------
>
>                 Key: OOZIE-40
>                 URL: https://issues.apache.org/jira/browse/OOZIE-40
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: AOOZIE-40v1.patch
>
>
> OpenJPA uses ABSTIME as the default type for java.util.Date.
> For some odd reason things work fine for a while and then it starts failing with the following exception:
>   "org.postgresql.util.PSQLException: Bad value for type timestamp : invalid" OpenJPA

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-40) OpenJPA default timestamp type for Postgres has issues

Posted by "jiraposter@reviews.apache.org (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104699#comment-13104699 ] 

jiraposter@reviews.apache.org commented on OOZIE-40:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1895/
-----------------------------------------------------------

(Updated 2011-09-14 17:30:48.988255)


Review request for oozie.


Summary (updated)
-------

OpenJPA default timestamp type for Postgres has issues


This addresses bug OOZIE-40.
    https://issues.apache.org/jira/browse/OOZIE-40


Diffs
-----

  /trunk/core/src/main/resources/META-INF/persistence.xml 1170637 

Diff: https://reviews.apache.org/r/1895/diff


Testing
-------


Thanks,

Alejandro



> OpenJPA default timestamp type for Postgres has issues
> ------------------------------------------------------
>
>                 Key: OOZIE-40
>                 URL: https://issues.apache.org/jira/browse/OOZIE-40
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: AOOZIE-40v1.patch
>
>
> OpenJPA uses ABSTIME as the default type for java.util.Date.
> For some odd reason things work fine for a while and then it starts failing with the following exception:
>   "org.postgresql.util.PSQLException: Bad value for type timestamp : invalid" OpenJPA

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-40) OpenJPA default timestamp type for Postgres has issues

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095665#comment-13095665 ] 

Alejandro Abdelnur commented on OOZIE-40:
-----------------------------------------

Forcing OpenJPA to use TIMESTAMP instead ABSTIME for java.util.Date properties for Postgres seems to solve the problem.

> OpenJPA default timestamp type for Postgres has issues
> ------------------------------------------------------
>
>                 Key: OOZIE-40
>                 URL: https://issues.apache.org/jira/browse/OOZIE-40
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> OpenJPA uses ABSTIME as the default type for java.util.Date.
> For some odd reason things work fine for a while and then it starts failing with the following exception:
>   "org.postgresql.util.PSQLException: Bad value for type timestamp : invalid" OpenJPA

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-40) OpenJPA default timestamp type for Postgres has issues

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122255#comment-13122255 ] 

jiraposter@reviews.apache.org commented on OOZIE-40:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1895/#review2414
-----------------------------------------------------------


Committed. please close

- Mohammad


On 2011-09-14 17:30:48, Alejandro Abdelnur wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/1895/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-09-14 17:30:48)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  OpenJPA default timestamp type for Postgres has issues
bq.  
bq.  
bq.  This addresses bug OOZIE-40.
bq.      https://issues.apache.org/jira/browse/OOZIE-40
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    /trunk/core/src/main/resources/META-INF/persistence.xml 1170637 
bq.  
bq.  Diff: https://reviews.apache.org/r/1895/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Alejandro
bq.  
bq.


                
> OpenJPA default timestamp type for Postgres has issues
> ------------------------------------------------------
>
>                 Key: OOZIE-40
>                 URL: https://issues.apache.org/jira/browse/OOZIE-40
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: AOOZIE-40v1.patch
>
>
> OpenJPA uses ABSTIME as the default type for java.util.Date.
> For some odd reason things work fine for a while and then it starts failing with the following exception:
>   "org.postgresql.util.PSQLException: Bad value for type timestamp : invalid" OpenJPA

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-40) OpenJPA default timestamp type for Postgres has issues

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119729#comment-13119729 ] 

jiraposter@reviews.apache.org commented on OOZIE-40:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1895/#review2293
-----------------------------------------------------------

Ship it!


Will push

- Mohammad


On 2011-09-14 17:30:48, Alejandro Abdelnur wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/1895/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-09-14 17:30:48)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  OpenJPA default timestamp type for Postgres has issues
bq.  
bq.  
bq.  This addresses bug OOZIE-40.
bq.      https://issues.apache.org/jira/browse/OOZIE-40
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    /trunk/core/src/main/resources/META-INF/persistence.xml 1170637 
bq.  
bq.  Diff: https://reviews.apache.org/r/1895/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Alejandro
bq.  
bq.


                
> OpenJPA default timestamp type for Postgres has issues
> ------------------------------------------------------
>
>                 Key: OOZIE-40
>                 URL: https://issues.apache.org/jira/browse/OOZIE-40
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: AOOZIE-40v1.patch
>
>
> OpenJPA uses ABSTIME as the default type for java.util.Date.
> For some odd reason things work fine for a while and then it starts failing with the following exception:
>   "org.postgresql.util.PSQLException: Bad value for type timestamp : invalid" OpenJPA

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-40) OpenJPA default timestamp type for Postgres has issues

Posted by "jiraposter@reviews.apache.org (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104688#comment-13104688 ] 

jiraposter@reviews.apache.org commented on OOZIE-40:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1895/
-----------------------------------------------------------

Review request for oozie.


Summary
-------

OpenJPA default timestamp type for Postgres has issues


This addresses bug OOZIE-40.
    https://issues.apache.org/jira/browse/OOZIE-40


Diffs
-----

  /trunk/core/src/main/resources/META-INF/persistence.xml 1170637 

Diff: https://reviews.apache.org/r/1895/diff


Testing
-------


Thanks,

Alejandro



> OpenJPA default timestamp type for Postgres has issues
> ------------------------------------------------------
>
>                 Key: OOZIE-40
>                 URL: https://issues.apache.org/jira/browse/OOZIE-40
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: AOOZIE-40v1.patch
>
>
> OpenJPA uses ABSTIME as the default type for java.util.Date.
> For some odd reason things work fine for a while and then it starts failing with the following exception:
>   "org.postgresql.util.PSQLException: Bad value for type timestamp : invalid" OpenJPA

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira