History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CASTOR-2434
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Werner Guttmann
Reporter: Vanja Culafic
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
castor

Extend SourceFactory to generate TimeStampable objects

Created: 28/Jun/08 06:28 AM   Updated: 30/Sep/08 07:14 AM
Component/s: XML code generator - JDO extensions
Affects Version/s: None
Fix Version/s: 1.3 rc1

Time Tracking:
Original Estimate: Not Specified
Remaining Estimate: 0 minutes
Time Spent - 45 minutes
Time Spent: 45 minutes
Time Spent - 45 minutes

File Attachments: 1. Text File patch.c2434.20080723-002.txt (6 kb)
2. Text File patch.c2434.20080723.txt (6 kb)



 Description  « Hide
Add isDetachable() method to SourceFactory. If isDetachable is set to "true" (default "false"), generated object implements TimeStampable interface and can be used in long transactions.

The changes also affect following issues:



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Werner Guttmann - 23/Jul/08 02:58 PM
Initial patch for review.

Werner Guttmann - 23/Jul/08 02:59 PM
The patch attached basically adds a new attribute to the XML schema, adds a new member to JDOClassInfoNature and amends SourceFactory to generate additional code if the 'detachable' property is set.

Werner Guttmann - 23/Jul/08 03:22 PM
Final patch for review.