PATH  Documentation > WebObjects 4.5 > EOAdaptor Reference

Table of Contents

DeprecatedAPI


This file enumerates those EOAccess Framework classes and methods that have been deprecated and should no longer be used. Wherever possible, notes have been included to indicate what API should be used in place of the deprecated class or method.


EOAdaptorContext

Nested transactions are no longer supported. Enterprise Objects Framework never actually used nested transactions. Furthermore, the concrete adaptors were not guaranteed to support them, especially since the SQL/92 standard doesn't allow nested transactions. New features in Enterprise Objects Framework 4.5 make nested transactions impossible to support. Consequently, the methods supporting nested transactions have been deprected.


canNestTransactions

public boolean canNestTransactions()

Deprecated in Enterprise Objects Framework 4.5. Don't use this method. There is no new API or workaround; no adaptor supports nested transactions. Implemented by subclasses to return true if the database server and adaptor context could nest transactions, false otherwise.

transactionNestingLevel

public int transactionNestingLevel()

Deprecated in Enterprise Objects Framework 4.5. Use hasOpenTransaction instead. Returns the number of transactions in progress. If the database server and the adaptor support nested transactions, this number may be greater than 1

Table of Contents