You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "David E. Jones (JIRA)" <ji...@apache.org> on 2006/10/30 22:00:23 UTC

[jira] Commented: (OFBIZ-413) Sequenced ID value limited to Integer not Long

    [ http://issues.apache.org/jira/browse/OFBIZ-413?page=comments#action_12445716 ] 
            
David E. Jones commented on OFBIZ-413:
--------------------------------------

This looks fine to me.

So, are you working with a site that is running up against 2 billion customers, or even 2 billion server hits... ? ;)

> Sequenced ID value limited to Integer not Long
> ----------------------------------------------
>
>                 Key: OFBIZ-413
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-413
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>            Reporter: Si Chen
>         Assigned To: Si Chen
>            Priority: Minor
>         Attachments: seqid.patch
>
>
> I just  found a small problem with SequenceUtil - it calls the getInt instead of the getLong method on the ResultSet query, so large sequence values (exceeding the Java integer limit of 2147483647 will not work.
> I made this change to SequenceUtil and now it works fine.  Just wanted to check to make sure nobody has any objections before committing this...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira