In new DODS are added new Query constructors that support transaction parameter. The DOML attribute DirtyDOs defines whether the old ("dirty") constructors (constructors without transaction parameter) will be generated or not. If this parameter is set to "Compatible", "dirty" constructors will be generated (as before), if set to "Deprecate", "dirty" constructors will be generated as deprecated, and if set to "Omit", "dirty" constructors will not be generated at all.
Queries with a transaction create all DOs within this transaction. Oppositely, Queries without transactions create DOs without transactions.
Sample code:
<table id="discRack.data.person.Person" dirtyDOs="Omit" dbTableName="person"> <column id="login" usedForQuery="true"> <type dbType="VARCHAR" javaType="String"/> </column> .............................................. <column id="lastname" usedForQuery="true"> <type dbType="VARCHAR" javaType="String"/> </column> </table>