Package org.apache.openjpa.util
package org.apache.openjpa.util
OpenJPA Utilities
This package provides utilities to facilitate the handling of second class objects and OpenJPA object ids.
-
ClassDescriptionBase class that provides utilities to change trackers.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<K,V> A map proxy designed for maps backed by extremely large result sets in which each call toAbstractLRSProxyMap.get(java.lang.Object)
orAbstractLRSProxyMap.containsKey(java.lang.Object)
may perform a database query.Utility class for manipulating application object ids.Utilities for dealing with a simple state image consisting of anObject[]
of field values with one extra index containing aBitSet
of loaded fields.OpenJPAId
subclass appropriate for boolean fields.OpenJPAId
subclass appropriate for byte fields.Fixed-size map that has ability to pin/unpin entries and move overflow to a backing soft map.Exception type thrown when an error occurs in a callback.Interface for components that track changes to containers at a fine-grained level.OpenJPAId
subclass appropriate for char fields.Service to load classes dynamically at runtime.Interface to customize the loading of classes under OpenJPA.Default class resolver implementation.Change tracker that can be used for collections.DefaultCollectionChangeTracker
.OpenJPAId
subclass appropriate for Date fields.A collection change tracker used by delay loaded collections.OpenJPAId
subclass appropriate for double fields.Interface supplying additional exception information.Utility methods for externalizing and handling exceptions.OpenJPAId
subclass appropriate for float fields.General exception type.Utility methods when generating classes, including at runtime.Datastore identity type.Helper for OpenJPA back-ends.Exception type for internal errors.OpenJPAId
subclass appropriate for int fields.Exception type thrown when attempting to execute an operation that is not allowed by the current state.Exception indicating that locks on one or more objects could not be acquired.OpenJPAId
subclass appropriate for long fields.Marker interface for large result set proxies.Change tracker that can be used for maps.DefaultMapChangeTracker
.Exception type reserved for missing or invalid metadata.A simpleClassResolver
that uses multiple class loaders to resolve classes.Exception type thrown when a query was configured to return a single result, and multiple results were found.Exception type thrown when a query was configured to return a single result, and no result was found.Exception type thrown when attempting a transactional operation without an active transaction.Exception type reserved for conflicts with existing objects.Identity type appropriate for object primary key fields and shared id classes.Exception type reserved for failed object lookups.Exception type for all OpenJPA exceptions.Identity class extended by built-in OpenJPA identity objects.Exception type for optimistic concurrency violations.Utility methods for managing proxies.Interface implemented by all proxy types to allow setting and nulling of their owning instance.Manager for copying and proxying second class objects.Default implementation of theProxyManager
interface.Exception indicating that a query timeout occurred.Exception type reserved for violations of integrity constraints.Interface used by many facade helpers to translate exceptions.Helper class to serialize and deserialize persistent objects, subtituting oids into the serialized stream and subtituting the persistent objects back during deserialization.Object input stream that replaces oids with their objects.Object output stream that replaces persistent objects with their oids.OpenJPAId
subclass appropriate for short fields.Base exception for data store errors.Repository of store-specific facade classes.OpenJPAId
subclass appropriate for String fields.Exception type for attempts to perform unsupported operations.Base exception type for user errors.Identifiable exception type which wraps an internal runtime exception.