[ https://issues.apache.org/jira/browse/OFBIZ-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644519#action_12644519 ]
BJ Freeman commented on OFBIZ-1969: ----------------------------------- LOL I don't know. I think I meant that for the patch for java mail container and was tired. #2 is more instruction and I guess should be in the FAQ's as you suggest > Setting the SequenceValueItem once the seed and ext data is loaded. > ------------------------------------------------------------------- > > Key: OFBIZ-1969 > URL: https://issues.apache.org/jira/browse/OFBIZ-1969 > Project: OFBiz > Issue Type: Bug > Components: ALL COMPONENTS > Affects Versions: SVN trunk > Reporter: BJ Freeman > Assignee: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > > when doing a ant run-install-extseed of a new system. > and then system includes ID's that are equal to or greater than the > SequenceValueItem seqName seqId > this is to prevent errors when getNextSeqId is called. > these must be adjusted by two means. > 1) export the SequenceValueItem.xml from the system that generated the ID's > then including only the IDs of the entities included in the data to be > initialized. > ie > {code} > <SequenceValueItem seqName="ContactMech" seqId="10190" > lastUpdatedStamp="2006-06-18 02:50:14.21" lastUpdatedTxStamp="2006-06-18 > 02:50:14.16" createdStamp="2006-06-18 02:50:14.21" createdTxStamp="2006-06-18 > 02:50:14.16"/> > {code} > 2) a service for that is passed the seqName will check the entity for the > seqName name and set the seqId to a numbe 1 higher than the entitiy shows. > ie: if ContactMech entity highest number is 10004 then the servcie will set > seqName (ContactMech) seqId to 10005 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.