|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractCompositeDirectCollectionMapping
consolidates the behavior of mappings that
map collections of "native" data objects (e.g.Sequence.addText(String)
in 2.1.0
Sequence.addText(int, String)
in 2.1.0
Expression.equal
to be used
for comparisons.
PersistenceUnitInfo.getClassLoader()
method.
attributeName
holding true for criteria
.
ClassDescriptor.setShouldAlwaysRefreshCache(boolean)
with an argument of true
:
it configures a ClassDescriptor
to always refresh the cache if data is received from the database by any query.
ClassDescriptor.setShouldAlwaysRefreshCacheOnRemote(boolean)
with an argument of true
:
it configures a ClassDescriptor
to always remotely refresh the cache if data is received from the database by any
query in a RemoteSession
.
Basic
annotation is the simplest type of mapping
to a database column.changes
and turns change logging on.
changes
and turns change logging on.
CORBAConnection
interface.
property
and a corresponding single value of the property's type
.PersistenceUnitInfo.addTransformer
method.Connection
.
Connection
to
a JDBC database.ContainerPolicy
.Session
.
instance
of the specified type.
instance
of the specified property's type
.
instance
of the specified type.
instance
of the specified property's type
.
contained
DataObjects recursively.
contained
DataObjects recursively.
contained
DataObjects recursively.
EntityManagerFactory
is to be created.
data object
contained by this object using the specified property,
which must be a containment property
.
data object
contained by this object using the specified property,
which must be a containment property
.
data object
contained by this object using the specified property,
which must be a containment property
.
data object
contained by this object using the specified property,
which must be a containment property
.
data object
contained by this object using the specified property,
which must be a containment property
.
data object
contained by this object using the specified property,
which must be of containment type
.
EntityManagerFactory
is to be created.
specified type
.
specified type
.
readOnly
Properties.
SINGLE_TABLE
and
JOINED
inheritance mapping strategies.DOMRecord
is an extension of the JCA Record interface that
provides support for XML data.ClassDescriptor.setShouldAlwaysRefreshCache(boolean)
with an argument of false
:
it ensures that a ClassDescriptor
is not configured to always refresh the cache if data is received from the database by any query.
ClassDescriptor.setShouldAlwaysRefreshCacheOnRemote(boolean)
with an argument of false
:
it ensures that a ClassDescriptor
is not configured to always remotely refresh the cache if data is received from the
database by any query in a RemoteSession
.
ClassDescriptor.setShouldOnlyRefreshCacheIfNewerVersion(boolean)
with an argument of false
:
it ensures that a ClassDescriptor
is not configured to only refresh the cache if the data received from the database by
a query is newer than the data in the cache (as determined by the optimistic locking field).
EISAccessor
is an implementation of the Accessor
interface.EISConnectionSpec
specifies how the
javax.resource.cci.Connection
is accessed.EISDescriptor
defines the mapping from a JCA data
structure to a Java object.EISDOMRecord
is a wrapper for a DOM tree.EISException
when any problem is detected while
interacting with an EIS datasourceEISLogin
defines connection information and datasource
properties.EISMappedRecord
acts as a Record
wrapper.EISObjectPersistenceXMLProject
defines the EclipseLink EIS
project and descriptor information to read a EclipseLink project from an XML
file.EISPlatform
defines any EIS adapter specific behavior.EISSequence
class allows access to sequence resources
using custom read (ValueReadQuery) and update (DataModifyQuery) queries and a
user specified preallocation size.EntityManager.persist(Object)
is called and the entity
already exists.EntityExistsException
exception
with null
as its detail message.
EntityExistsException
exception
with the specified detail message.
EntityExistsException
exception
with the specified detail message and cause.
EntityExistsException
exception
with the specified cause.
EntityManagerFactory
interface is used
by the application to obtain an application-managed entity
manager.EntityManager.getReference(Class,Object)
is accessed but the entity does not exist.EntityNotFoundException
exception
with null
as its detail message.
EntityNotFoundException
exception
with the specified detail message.
EntityTransaction
interface is used to control
resource transactions on resource-local entity managers.Type
and all their compared Properties are equal.
Type
and all their compared Properties are equal.
property list
of this object's type
.
null
or an excluded
value like 0
or false
.
BigDecimal
property identified by the specified path.
BigDecimal
property identified by the specified property index.
BigDecimal
property.
BigInteger
property identified by the specified path.
BigInteger
property identified by the specified property index.
BigInteger
property.
boolean
property identified by the specified path.
boolean
property identified by the specified property index.
boolean
property.
byte
property identified by the specified path.
byte
property identified by the specified property index.
byte
property.
byte[]
property identified by the specified path.
byte[]
property identified by the specified property index.
byte[]
property.
data objects
that have been changed while logging
.
data objects
that have been changed while logging
.
change summary
associated with this data graph.
change summary
associated with this data graph.
char
property identified by the specified path.
char
property identified by the specified property index.
char
property.
data object
or null
if there is no container.
data object
containing this data object
or null
if there is no container.
data graph
associated with this change summary or null.
DataObject
property identified by the specified path.
DataObject
property identified by the specified property index.
DataObject
property.
Date
property identified by the specified path.
Date
property identified by the specified property index.
Date
property.
data object
where the Property hasn't been set.
data object
where the Property hasn't been set.
Session
.
double
property identified by the specified path.
double
property identified by the specified property index.
double
property.
float
property identified by the specified path.
float
property identified by the specified property index.
float
property.
int
property identified by the specified path.
int
property identified by the specified property index.
int
property.
List
property identified by the specified path.
List
property identified by the specified property index.
List
property.
long
property identified by the specified path.
long
property identified by the specified property index.
long
property.
container
data object
at the point when logging began
.
container
data object
at the point when logging began
.
containment property
data object property
at the point when logging began
.
containment property
data object property
at the point when logging began
.
sequence
for the data object
at the point when logging began
.
sequence
for the data object
at the point when logging began
.
setting
for the specified property
representing the property value of the given dataObject
at the point when logging began
.
setting
for the specified property
representing the property value of the given dataObject
at the point when logging began
.
settings
that represent the property values of the given dataObject
at the point when logging began
.
settings
that represent the property values of the given dataObject
at the point when logging began
.
Properties
of this type.
DataObject.getInstanceProperty(String)
in 2.1.0
all the Properties
of this type, the one with the specified name.
Session
.
data object
of this data graph.
data object
.
data object
of this data graph.
Sequence
for this DataObject.
XMLContext xmlContext = new XMLContext("path0:path1");
DatabaseSession session = xmlContext.getSession(0); // returns session for path0
short
property identified by the specified path.
short
property identified by the specified property index.
short
property.
equal
.
String
property identified by the specified path.
String
property identified by the specified property index.
String
property.
type
with the given the URI
,
or contained by the resource at the given URI,
and with the given name
.
type
with the given the URI
,
or contained by the resource at the given URI,
and with the given name
.
null
if the type has no URI
(for example it was generated from a Schema with no target namespace).
this
is to be queried as of a past time.
Session
.
value
is a system change number or an expression
evaluating to one.
Session
.
logging
.
logging
.
logging
.
logging
.
dataObject
has been modified.
aListWrapper
has been modified.
aSequence
has been modified.
attributeName
being empty.
true
) or off (false
).
true
) or off (false
).
logging
.
logging
.
property list
of this object's
type
, is considered to be set.
str
in this
Example:
TopLink: employee.get("firstName").locate("ob")
Java: employee.getFirstName().indexOf("ob") + 1
SQL: LOCATE('ob', t0.F_NAME)
Note that while in String.locate(str) -1 is returned if not found, and the
index starting at 0 if found, in SQL it is 0 if not found, and the index
starting at 1 if found.
str
in this
,
starting the search at fromIndex
.
str
in this
,
starting the search at fromIndex
.
EntityManager.lock()
method.Map
.mark
and reset
methods.
QueryRedirector
without implementing
QueryRedirector
.fromIndex
to toIndex
.
It is common for an XML document to include one or more namespaces.
CORBAConnection
.
SunCORBAConnectionHelper
class.
VARRAYs
except internally they store their information in a separate table
from their parent structure's table.attributeName
holding true for criteria
.
getSingleResult()
is executed on a query and there is more
than one result from the query.NonUniqueResultException
exception
with null
as its detail message.
NonUniqueResultException
exception
with the specified detail message.
getSingleResult()
is executed on a query
and there is no result to return.NoResultException
exception
with null
as its detail message.
NoResultException
exception
with the specified detail message.
attributeName
not being empty.
ClassDescriptor.setShouldOnlyRefreshCacheIfNewerVersion(boolean)
with an argument of true
:
it configures a ClassDescriptor
to only refresh the cache if the data received from the database by a query is newer than
the data in the cache (as determined by the optimistic locking field) and as long as one of the following is true:
the ClassDescriptor
was configured by calling ClassDescriptor.alwaysRefreshCache()
or ClassDescriptor.alwaysRefreshCacheOnRemote()
,
the query was configured by calling ObjectLevelReadQuery.refreshIdentityMapResult()
, or
the query was a call to Session.refreshObject(java.lang.Object)
However, if a query hits the cache, data is not refreshed regardless of how this setting is configured.
OptimisticLockException
exception
with null
as its detail message.
OptimisticLockException
exception
with the specified detail message.
OptimisticLockException
exception
with the specified detail message and cause.
OptimisticLockException
exception
with the specified cause.
OptimisticLockException
exception
with the specified entity.
OptimisticLockException
exception
with the specified detail message, cause, and entity.
EntityManagerFactory
.EntityManager
persistence context.PersistenceContext
annotations.PersistenceContext
.PersistenceException
exception
with null
as its detail message.
PersistenceException
exception
with the specified detail message.
PersistenceException
exception
with the specified detail message and cause.
PersistenceException
exception
with the specified cause.
EntityManagerFactory
.EntityManagerFactory
.PersistenceUnit
annotations.EntityManagerFactory
will be
JTA or resource-local entity managers.PrimaryKeyJoinColumn
annotations.type
of a data object
.Query
hint.RecordConverter
interface allows conversion of an adapter
specific record.Session
.
EntityTransaction.commit()
fails.RollbackException
exception
with null
as its detail message.
RollbackException
exception
with the specified detail message.
RollbackException
exception
with the specified detail message and cause.
RollbackException
exception
with the specified cause.
data objects
along with their
metadata, that is, data describing the data.commonj.sdo.HelperContext
.type
of a data object
.properties
and corresponding values.GeneratedValue
annotation.property list
of this object's
type
, to the specified value.
BigDecimal
property identified by the specified path, to the specified value.
BigDecimal
property identified by the specified property index, to the specified value.
BigDecimal
property, to the specified value.
BigInteger
property identified by the specified path, to the specified value.
BigInteger
property identified by the specified property index, to the specified value.
BigInteger
property, to the specified value.
boolean
property identified by the specified path, to the specified value.
boolean
property identified by the specified property index, to the specified value.
boolean
property, to the specified value.
byte
property identified by the specified path, to the specified value.
byte
property identified by the specified property index, to the specified value.
byte
property, to the specified value.
byte[]
property identified by the specified path, to the specified value.
byte[]
property identified by the specified property index, to the specified value.
byte[]
property, to the specified value.
char
property identified by the specified path, to the specified value.
char
property identified by the specified property index, to the specified value.
char
property, to the specified value.
DataObject
property identified by the specified path, to the specified value.
DataObject
property identified by the specified property index, to the specified value.
DataObject
property, to the specified value.
Date
property identified by the specified path, to the specified value.
Date
property identified by the specified property index, to the specified value.
Date
property, to the specified value.
double
property identified by the specified path, to the specified value.
double
property identified by the specified property index, to the specified value.
double
property, to the specified value.
float
property identified by the specified path, to the specified value.
float
property identified by the specified property index, to the specified value.
float
property, to the specified value.
int
property identified by the specified path, to the specified value.
int
property identified by the specified property index, to the specified value.
int
property, to the specified value.
List
property identified by the specified path, to the specified value.
List
property identified by the specified property index, to the specified value.
List
property, to the specified value.
long
property identified by the specified path, to the specified value.
long
property identified by the specified property index, to the specified value.
long
property, to the specified value.
SDOType.isOpen()
.
short
property identified by the specified path, to the specified value.
short
property identified by the specified property index, to the specified value.
short
property, to the specified value.
shouldAlwaysRefreshCache
argument passed into this method is true
,
this method configures a ClassDescriptor
to always refresh the cache if data is received from
the database by any query.
shouldAlwaysRefreshCacheOnRemote
argument passed into this method is true
,
this method configures a ClassDescriptor
to always remotely refresh the cache if data is received from
the database by any query in a RemoteSession
.
shouldOnlyRefreshCacheIfNewerVersion
argument passed into this method is true
,
this method configures a ClassDescriptor
to only refresh the cache if the data received from the database
by a query is newer than the data in the cache (as determined by the optimistic locking field) and as long as one of the following is true:
the ClassDescriptor
was configured by calling ClassDescriptor.alwaysRefreshCache()
or ClassDescriptor.alwaysRefreshCacheOnRemote()
,
the query was configured by calling ObjectLevelReadQuery.refreshIdentityMapResult()
, or
the query was a call to Session.refreshObject(java.lang.Object)
However, if a query hits the cache, data is not refreshed regardless of how this setting is configured.
null
attribute in the example object
either to objects with that attribute also set to null
or to any
value other than null
.
equal
.
String
property identified by the specified path, to the specified value.
String
property identified by the specified property index, to the specified value.
String
property, to the specified value.
true
if the ClassDescriptor
is configured to always refresh
the cache if data is received from the database by any query.
true
if the ClassDescriptor
is configured to always remotely
refresh the cache if data is received from the database by any query in a RemoteSession
.
true
if the ClassDescriptor
is configured to only refresh the cache
if the data received from the database by a query is newer than the data in the cache (as determined by the
optimistic locking field).
null
attribute in the example object
either to objects with that attribute also set to null
or to any
value other than null
.
attributeName
.
SqlResultSetMapping
.GeneratedValue
annotation.Date
and Calendar
.Date
or Calendar
.TransactionRequiredException
exception
with null
as its detail message.
TransactionRequiredException
exception
with the specified detail message.
property
of a data object
.property list
of this object's type
.
ConnectionPool
.
ExternalConnectionPool
.
ReadConnectionPool
.
|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV NEXT | FRAMES NO FRAMES |