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:
Initial patch for review.
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.
Final patch for review.