Internal Website Search

101-150 of 200 results

PersistenceUnitUtil.isLoaded(entity,attributeName) - JPA Method

: false if entity's state has not been loaded or if the attribute state has not been loaded, else true Since: JPA 2.0

EntityManagerFactory.createEntityManager() - JPA Method

JPA Method in javax.persistence.EntityManagerFactory EntityManager createEntityManager () Create a new application-managed EntityManager . This method returns a new EntityManager instance each time it is invoked. The isOpen method will return true on the returned instance. Return: entity manager

EntityManagerFactory.createEntityManager(synchronizationType,map) - JPA Method

will return true on the returned instance. Parameters: synchronizationType - how and when the entity manager

EntityManagerFactory.createEntityManager(synchronizationType) - JPA Method

time it is invoked. The isOpen method will return true on the returned instance. Parameters

EntityManagerFactory.createEntityManager(map) - JPA Method

will return true on the returned instance. Parameters: map - properties for entity manager Return: entity

javax.persistence.MapKeyJoinColumn.updatable

JPA Annotation Attribute in javax.persistence.MapKeyJoinColumn boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0

javax.persistence.MapKeyJoinColumn.insertable

JPA Annotation Attribute in javax.persistence.MapKeyJoinColumn boolean insertable default true (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Since: JPA 2.0

javax.persistence.OneToOne.optional

JPA Annotation Attribute in javax.persistence.OneToOne boolean optional default true (Optional) Whether the association is optional. If set to false then a non-null relationship must always exist. Since: JPA 1.0

javax.persistence.MapKeyColumn.updatable

JPA Annotation Attribute in javax.persistence.MapKeyColumn boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0

javax.persistence.MapKeyColumn.insertable

JPA Annotation Attribute in javax.persistence.MapKeyColumn boolean insertable default true (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Since: JPA 2.0

javax.persistence.OneToMany

using a foreign key mapping // In Customer class: @OneToMany(orphanRemoval= true ) @JoinColumn(name

Subquery.distinct(distinct) - JPA Method

JPA Method in javax.persistence.criteria.Subquery Subquery distinct (   boolean distinct ) Specify whether duplicate query results will be eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct has not

javax.persistence.ManyToOne.optional

JPA Annotation Attribute in javax.persistence.ManyToOne boolean optional default true (Optional) Whether the association is optional. If set to false then a non-null relationship must always exist. Since: JPA 1.0

javax.persistence.Cacheable

article explains how to use Cacheable . Public Annotation Attributes boolean value default true

javax.persistence.ManyToOne

is a hint to the persistence provider runtime. Since: JPA 1.0 boolean optional default true

javax.persistence.SharedCacheMode

ENABLE_SELECTIVE Caching is enabled for all entities for Cacheable( true ) is specified

javax.persistence.Cacheable.value

JPA Annotation Attribute in javax.persistence.Cacheable boolean value default true (Optional) Whether or not the entity should be cached. Since: JPA 2.0

javax.persistence.EntityManager

is open. Return: true until the entity manager has been closed Since: JPA 1.0 void joinTransaction

javax.persistence.OrderColumn.insertable

JPA Annotation Attribute in javax.persistence.OrderColumn boolean insertable default true (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Since: JPA 2.0

javax.persistence.OrderColumn.updatable

JPA Annotation Attribute in javax.persistence.OrderColumn boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0

javax.persistence.Column.updatable

JPA Annotation Attribute in javax.persistence.Column boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 1.0

javax.persistence.OrderColumn.nullable

JPA Annotation Attribute in javax.persistence.OrderColumn boolean nullable default true (Optional) Whether the database column is nullable. Since: JPA 2.0

javax.persistence.Column.insertable

JPA Annotation Attribute in javax.persistence.Column boolean insertable default true (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Since: JPA 1.0

javax.jdo.annotations.Join.generateForeignKey

JDO Annotation Attribute in javax.jdo.annotations.Join String generateForeignKey default "" Generate or assume a foreign key constraint exists on the column or columns associated with this join. Specify " true " or "false". Since: JDO 2.1

PersistenceManagerFactory.isClosed() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory boolean isClosed () A PersistenceManagerFactory instance can be used until it is closed. Return: true if this PersistenceManagerFactory has been closed. See Also: close () Since: JDO 2.0

javax.jdo.annotations.Join.generatePrimaryKey

JDO Annotation Attribute in javax.jdo.annotations.Join String generatePrimaryKey default "" Generate or assume a primary key constraint exists on the column or columns associated with this join. Specify " true " or "false". Since: JDO 2.1

PersistenceManager.getIgnoreCache() - JDO Method

JDO Method in javax.jdo.PersistenceManager boolean getIgnoreCache () Get the ignoreCache setting for queries. IgnoreCache set to true specifies that for all Query instances created by this PersistenceManager , the default is the cache should be ignored for queries. Return: the ignoreCache setting. Since: JDO 1.0

javax.jdo.annotations.Key.generateForeignKey

JDO Annotation Attribute in javax.jdo.annotations.Key String generateForeignKey default "" Generate or assume a foreign key constraint exists on the column or columns associated with this join. Specify " true " or "false". Since: JDO 2.1

PersistenceManager.setIgnoreCache(flag) - JDO Method

JDO Method in javax.jdo.PersistenceManager void setIgnoreCache (   boolean flag ) Set the ignoreCache parameter for queries. IgnoreCache set to true specifies that for all Query instances created by this PersistenceManager , the default is the cache should be ignored for queries. Parameters: flag - the ignoreCache setting. Since: JDO 1.0

PersistenceManager.setMultithreaded(flag) - JDO Method

to true . Instances managed by this PersistenceManager include persistent or transactional

javax.jdo.identity.LongIdentity

object id. Parameters: obj - the other object Return: true if both objects represent the same object id

IntIdentity.equals(obj) - JDO Method

JDO Method in javax.jdo.identity.IntIdentity boolean equals (   Object obj ) Determine if the other object represents the same object id. Parameters: obj - the other object Return: true if both objects represent the same object id Since: JDO 1.0

PersistenceManager.setDetachAllOnCommit(flag) - JDO Method

set to true , during beforeCompletion all cached instances are prepared for detachment according

PersistenceManager.setCopyOnAttach(flag) - JDO Method

JDO Method in javax.jdo.PersistenceManager void setCopyOnAttach (   boolean flag ) Sets the copyOnAttach setting. CopyOnAttach set to true specifies that during makePersistent, copies are made of detached parameter instances. With this flag set to false , detached parameter

javax.jdo.identity.IntIdentity

. Parameters: obj - the other object Return: true if both objects represent the same object id

ObjectIdentity.equals(obj) - JDO Method

JDO Method in javax.jdo.identity.ObjectIdentity boolean equals (   Object obj ) Determine if the other object represents the same object id. Parameters: obj - the other object Return: true if both objects represent the same object id Since: JDO 1.0

javax.jdo.identity.ObjectIdentity

represents the same object id. Parameters: obj - the other object Return: true if both objects

LongIdentity.equals(obj) - JDO Method

JDO Method in javax.jdo.identity.LongIdentity boolean equals (   Object obj ) Determine if the other object represents the same object id. Parameters: obj - the other object Return: true if both objects represent the same object id Since: JDO 1.0

StateManager.isLoaded(pc,field) - JDO Method

JDO Method in javax.jdo.spi.StateManager boolean isLoaded (   PersistenceCapable pc,    int field ) Return true if the field is cached in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Return

javax.jdo.identity.ByteIdentity

represents the same object id. Parameters: obj - the other object Return: true if both objects

CharIdentity.equals(obj) - JDO Method

JDO Method in javax.jdo.identity.CharIdentity boolean equals (   Object obj ) Determine if the other object represents the same object id. Parameters: obj - the other object Return: true if both objects represent the same object id Since: JDO 1.0

javax.jdo.identity.CharIdentity

- the other object Return: true if both objects represent the same object id Since: JDO 1.0 char

ByteIdentity.equals(obj) - JDO Method

JDO Method in javax.jdo.identity.ByteIdentity boolean equals (   Object obj ) Determine if the other object represents the same object id. Parameters: obj - the other object Return: true if both objects represent the same object id Since: JDO 1.0

DataStoreCache.unpinAll(pcClass,subclasses) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void unpinAll (   Class pcClass,    boolean subclasses ) Unpin instances from the second-level cache. Parameters: pcClass - the class of instances to unpin subclasses - if true , unpin instances of subclasses also Since: JDO 2.0

DataStoreCache.unpinAll(subclasses,pcClass) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void unpinAll (   boolean subclasses,    Class pcClass ) Unpin instances from the second-level cache. Parameters: pcClass - the class of instances to unpin subclasses - if true , unpin instances of subclasses also Since: JDO 2.1

DataStoreCache.pinAll(subclasses,pcClass) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void pinAll (   boolean subclasses,    Class pcClass ) Pin instances in the second-level cache. Parameters: pcClass - the class of instances to pin subclasses - if true , pin instances of subclasses also Since: JDO 2.1

DataStoreCache.pinAll(pcClass,subclasses) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void pinAll (   Class pcClass,    boolean subclasses ) Pin instances in the second-level cache. Parameters: pcClass - the class of instances to pin subclasses - if true , pin instances of subclasses also Since: JDO 2.0

DataStoreCache.evictAll(subclasses,pcClass) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void evictAll (   boolean subclasses,    Class pcClass ) Evict the parameter instances from the second-level cache. Parameters: pcClass - the class of instances to evict subclasses - if true , evict instances of subclasses also Since: JDO 2.1

DataStoreCache.evictAll(pcClass,subclasses) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void evictAll (   Class pcClass,    boolean subclasses ) Evict the parameter instances from the second-level cache. Parameters: pcClass - the class of instances to evict subclasses - if true , evict instances of subclasses also Since: JDO 2.0

javax.jdo.annotations.Value.generateForeignKey

JDO Annotation Attribute in javax.jdo.annotations.Value String generateForeignKey default "" Generate or assume a foreign key constraint exists on the column or columns associated with this join. Specify " true " or "false". Since: JDO 2.1