Package org.apache.openjpa.util

OpenJPA Utilities

See:
          Description

Interface Summary
ChangeTracker Interface for components that track changes to containers at a fine-grained level.
ClassResolver Interface to customize the loading of classes under OpenJPA.
CollectionChangeTracker Change tracker that can be used for collections.
ExceptionInfo Interface supplying additional exception information.
LRSProxy Marker interface for large result set proxies.
MapChangeTracker Change tracker that can be used for maps.
Proxy Interface implemented by all proxy types to allow setting and nulling of their owning instance.
ProxyCalendar Interface implemented by all built-in proxies on Calendar types.
ProxyCollection Interface implemented by all built-in proxies on Collection types.
ProxyDate Interface implemented by all built-in proxies on Date types.
ProxyManager Manager for copying and proxying second class objects.
ProxyMap Interface implemented by all built-in proxies on Map types.
RuntimeExceptionTranslator Interface used by many facade helpers to translate exceptions.
 

Class Summary
AbstractChangeTracker Base class that provides utilities to change trackers.
AbstractLRSProxyCollection A collection proxy designed for collections backed by extremely large result sets in which each call to AbstractLRSProxyCollection.iterator() may perform a database query.
AbstractLRSProxyMap A map proxy designed for maps backed by extremely large result sets in which each call to AbstractLRSProxyMap.get(java.lang.Object) or AbstractLRSProxyMap.containsKey(java.lang.Object) may perform a database query.
ApplicationIds Utility class for manipulating application object ids.
ArrayStateImage Utilities for dealing with a simple state image consisting of an Object[] of field values with one extra index containing a BitSet of loaded fields.
ByteId OpenJPAId subclass appropriate for byte fields.
CacheMap Fixed-size map that has ability to pin/unpin entries and move overflow to a backing soft map.
CharId OpenJPAId subclass appropriate for char fields.
ClassResolverImpl Default class resolver implementation.
CollectionChangeTrackerImpl Default CollectionChangeTracker.
DateId OpenJPAId subclass appropriate for Date fields.
Exceptions Utility methods for externalizing and handling exceptions.
Id Datastore identity type.
ImplHelper Helper for OpenJPA back-ends.
IntId OpenJPAId subclass appropriate for int fields.
LongId OpenJPAId subclass appropriate for long fields.
MapChangeTrackerImpl Default MapChangeTracker.
MultiLoaderClassResolver A simple ClassResolver that uses multiple class loaders to resolve classes.
ObjectId Identity type appropriate for object primary key fields and shared id classes.
OpenJPAId Identity class extended by builtin OpenJPA identity objects.
Proxies Utility methods for managing proxies.
ProxyArrayList Extension of the ArrayList type that dirties the persistent/transactional field it is assigned to on modification.
ProxyGregorianCalendar Extension of the Calendar type that calls the dirty method on its owning persistence capable instance on modification.
ProxyGregorianCalendar4 ProxyGregorianCalendar subclass that overrides the mutating ProxyGregorianCalendar4.set(int, int) method, which is final in Java 1.3 but public in Java 1.4 and higher.
ProxyHashMap Extension of the HashMap type that dirties the persistent/transactional field it is assigned to on modification.
ProxyHashSet Extension of the HashSet type that dirties the persistent/transactional field it is assigned to on modification.
ProxyHashtable Extension of the Hashtable type that dirties the persistent/transactional field it is assigned to on modification.
ProxyLinkedList Extension of the LinkedList type that dirties the persistent/transactional field it is assigned to on modification.
ProxyManagerImpl Default implementation of the ProxyManager interface.
ProxyProperties Extension of the Properties type that dirties the persistent/transactional field it is assigned to on modification.
ProxySQLDate Extension of the Date type that calls the dirty method on its owning persistence capable instance on modification.
ProxyTime Extension of the Time type that calls the dirty method on its owning persistence capable instance on modification.
ProxyTimestamp Extension of the Timestamp type that calls the dirty method on its owning persistence capable instance on modification.
ProxyTreeMap Extension of the TreeMap type that dirties the persistent/transactional field it is assigned to on modification.
ProxyTreeSet Extension of the TreeSet type that dirties the persistent/transactional field it is assigned to on modification.
ProxyUtilDate Extension of the Date type that calls the dirty method on its owning persistence capable instance on modification.
ProxyVector Extension of the Vector type that dirties the persistent/transactional field it is assigned to on modification.
Serialization Helper class to serialize and deserialize persistent objects, subtituting oids into the serialized stream and subtituting the persistent objects back during deserialization.
ShortId OpenJPAId subclass appropriate for short fields.
StoreFacadeTypeRegistry Repository of store-specific facade classes.
StringId OpenJPAId subclass appropriate for String fields.
 

Exception Summary
CallbackException Exception type thrown when an error occurs in a callback.
GeneralException General exception type.
InternalException Exception type for internal errors.
InvalidStateException Exception type thrown when attempting to execute an operation that is not allowed by the current state.
LockException Exception indicating that locks on one or more objects could not be acquired.
MetaDataException Exception type reserved for missing or invalid metadata.
NoTransactionException Exception type thrown when attempting a transactional operation without an active transaction.
ObjectExistsException Exception type reserved for conflicts with existing objects.
ObjectNotFoundException Exception type reserved for failed object lookups.
OpenJPAException Exception type for all OpenJPA exceptions.
OptimisticException Exception type for optimistic concurrency violations.
ReferentialIntegrityException Exception type reserved for violations of integrity constraints.
StoreException Base exception for data store errors.
UnsupportedException Exception type for attempts to perform unsupported operations.
UserException Base exception type for user errors.
 

Package org.apache.openjpa.util Description

OpenJPA Utilities

This package provides utilities to facilitate the handling of second class objects and OpenJPA object ids.



Copyright © 2006 Apache Software Foundation. All Rights Reserved.