Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] SVN: Commit bug#220394 improve insert performance

SVN: Commit bug#220394 improve insert performance

 

https://bugs.eclipse.org/bugs/show_bug.cgi?id=220394

 

Changes:

- pass descriptor to assignSequence

- use direct access for ObjectBuilder.descriptor

- pass descriptor to registerNewObjectInIdentityMap

- avoid backup clone in registerNotRegisteredNewObjectForPersist

- in ObjectBuilder.cascadeDiscoverAndPersistUnregisteredNewObjects, only

iterate over relationship mappings, isSimple flag, and use everywhere else that only relationships are desired

- use == in getDescriptor not equals

- in AbstractRecord.add ++size instead of resetSize

- avoid connection isClosed in incrementCallCount, direct var access,

avoid isConnect if >1, usesExternalConnectionPooling call getLogin once. +

decrement

- use setString for String, avoid setComplexParameter

- changed beginTransaction to handle failover and dead connections (non-JTA)

- fixed JPA insert performance test reset

 

Code review: Andrei (pending)

 


Back to the top