Skip Headers

# Using Conforming Descriptors

Previous

Next

TopLink's support for conforming queries in the unit of work can be specified at the descriptor level.

You can define a descriptor directly to always conform results in the unit of work so that all queries performed on this descriptor conform its results in the unit of work by default. You can specify this either within code or from TopLink Workbench.

You can configure a descriptor to always conform in the unit of work using TopLink Workbench or Java code.

To configure a descriptor to always conform in the unit of work in Java code, use `Descriptor` method `setShouldAlwaysConformResultsInUnitOfWork`, passing in an argument of `true`.

To configure a descriptor to always conform in the unit of work using TopLink, see "Configuring Unit of Work Conforming at the Descriptor Level".