openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu (JIRA)" <>
Subject [jira] [Created] (OPENJPA-2323) Create upto 2000 versions Updates
Date Fri, 18 Jan 2013 06:34:13 GMT
Raghu created OPENJPA-2323:

             Summary:  Create upto 2000 versions Updates
                 Key: OPENJPA-2323
             Project: OpenJPA
          Issue Type: Question
    Affects Versions: 1.2.2
         Environment: Windows 2008 Standard, Websphere
AIX, Oracle 11i
            Reporter: Raghu

1) The below code is placed in a Batch Job, which is processing about 100 records every minute.

2) Recently, this job is split into two, for processing different set of data. 
3) This is causing upto 2000 version updates in the Table, when both the Jobs were invoked

Need to know why this is happening? Anyone can advise?

 * @see
	public BillOrderItemTx saveBillOrderItem(BillOrderItemTx billOrderItem) {
		BillOrderItemTx updatedbillOrderItem = null; 
		if(Long.valueOf(billOrderItem.getId())==null || Long.valueOf(billOrderItem.getId())==0L)
		return updatedbillOrderItem;

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message