Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 274186 - To avoid systematic flush, need to support Calendar as much as Date is supported in conform in uow
Summary: To avoid systematic flush, need to support Calendar as much as Date is suppor...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Peter Krogh CLA
QA Contact:
URL:
Whiteboard: submitted_patch
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-28 17:23 EDT by Sebastien Tardif CLA
Modified: 2022-06-09 10:04 EDT (History)
2 users (show)

See Also:
peter.krogh: documentation+


Attachments
Standalone test case (13.51 KB, application/x-zip-compressed)
2009-04-28 17:27 EDT, Sebastien Tardif CLA
no flags Details
The fix fixing all known issues. (4.07 KB, patch)
2009-04-28 18:09 EDT, Sebastien Tardif CLA
peter.krogh: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastien Tardif CLA 2009-04-28 17:23:21 EDT
Our application is a complex timesheet application. Most of all use cases involve many queries with Calendar. Without support for Calendar in conform in unit of work, because each query we need to flush to get correct result. This is an important performance optimization.

Reference:
- MetaLink bug 6059586 - SUPPORT CALENDAR AS MUCH AS DATE IS SUPPORTED IN-MEMORY QUERY
Comment 1 Sebastien Tardif CLA 2009-04-28 17:27:43 EDT
Created attachment 133646 [details]
Standalone test case

The standalone test case do not include the Jars, which are:
- EclipseLink 1.1.1 (but any should work)
- Oracle JDBC driver
- JUnit

However, after you setup the session to point to any db, the test will create the table needed and execute.
Comment 2 Sebastien Tardif CLA 2009-04-28 18:09:43 EDT
Created attachment 133655 [details]
The fix fixing all known issues.
Comment 3 Peter Krogh CLA 2009-04-29 13:25:34 EDT
Checked in the changed suggested in the patch.
Comment 4 Peter Krogh CLA 2009-05-12 09:51:10 EDT
Any mention of not supporting calendars in Memory an now be removed from the docs.
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:04:54 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink