Internal Website Search

101-150 of 200 results

EntityManager.createStoredProcedureQuery(procedureName,resultClasses) - JPA Method

an instance of StoredProcedureQuery for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed. The resultClass arguments must be specified in the order in which the result sets will be returned by the stored procedure invocation. Parameters

javax.persistence.AttributeConverter

the value stored in the entity attribute into the data representation to be stored in the database ... to be stored in the database column Since: JPA 1.0 X convertToEntityAttribute (Y dbData) Converts the data stored in the database column into the value to be stored in the entity attribute. Note

javax.persistence.ParameterMode

.ParameterMode Specifies the mode of a parameter of a stored procedure query. See Also: StoredProcedureQuery StoredProcedureParameter Since: JPA 2.1 Enum Constants IN Stored procedure input parameter Since: JPA 2.1 INOUT Stored procedure input/output parameter Since: JPA 2.1 OUT Stored procedure output

javax.persistence.StoredProcedureQuery

JPA Interface StoredProcedureQuery Super Interfaces: Query Interface used to control stored procedure query execution. Stored procedure query execution may be controlled in accordance ... . It is not required to set the values of stored procedure parameters for which default values

EntityManager.createStoredProcedureQuery(procedureName) - JPA Method

a stored procedure in the database. Parameters must be registered before the stored procedure can be executed. If the stored procedure returns one or more result sets, any result set will be returned as a list of type Object[]. Parameters: procedureName - name of the stored procedure in the database

javax.persistence.TableGenerator

(Optional) The initial value to be used to initialize the column that stores the last value generated ... that distinguishes this set of generated values from others that may be stored in the table. Defaults to a provider-chosen value to store in the primary key column of the generator table Since: JPA 1.0

javax.persistence.StoredProcedureParameter

of a named stored procedure query. All parameters of a named stored procedure query must be specified ... a stored procedure. Since: JPA 2.1 String name default "" The name of the parameter as defined by the stored procedure in the database. If a name is not specified, it is assumed that the stored procedure

EntityManager.createNamedStoredProcedureQuery(name) - JPA Method

(   String name ) Create an instance of StoredProcedureQuery for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed. If the stored procedure returns one or more result sets, any result set will be returned as a list

AttributeConverter.convertToEntityAttribute(dbData) - JPA Method

JPA Method in javax.persistence.AttributeConverter X convertToEntityAttribute (   Y dbData ) Converts the data stored in the database column into the value to be stored in the entity ... to be converted Return: the converted value to be stored in the entity attribute Since: JPA 1.0

AttributeConverter.convertToDatabaseColumn(attribute) - JPA Method

;attribute ) Converts the value stored in the entity attribute into the data representation to be stored in the database. Parameters: attribute - the entity attribute value to be converted Return: the converted data to be stored in the database column Since: JPA 1.0

EntityManagerFactory.addNamedQuery(name,query) - JPA Method

JPA Method in javax.persistence.EntityManagerFactory void addNamedQuery (   String name,     Query  query ) Define the query, typed query, or stored procedure ... , result set mapping information, and information about stored procedure parameters. When the query

javax.persistence.EntityManagerFactory

, typed query, or stored procedure query as a named query such that future query objects ... results, hints, flush mode, lock mode, result set mapping information, and information about stored

javax.persistence.TableGenerator.pkColumnValue

JPA Annotation Attribute in javax.persistence.TableGenerator String pkColumnValue default "" (Optional) The primary key value in the generator table that distinguishes this set of generated values from others that may be stored in the table. Defaults to a provider-chosen value to store in

javax.persistence.ParameterMode.REF_CURSOR

JPA Enum Constant in javax.persistence.ParameterMode REF_CURSOR Stored procedure reference cursor parameter. Some databases use REF_CURSOR parameters to return result sets from stored procedures. Since: JPA 2.1

javax.persistence.StoredProcedureParameter.name

JPA Annotation Attribute in javax.persistence.StoredProcedureParameter String name default "" The name of the parameter as defined by the stored procedure in the database. If a name is not specified, it is assumed that the stored procedure uses positional parameters. Since: JPA 2.1

javax.jdo.listener.StoreLifecycleListener

is implemented by listeners to be notified of store events. Since: JDO 2.0 Public Methods void postStore ( InstanceLifecycleEvent  event) Invoked whenever a persistent instance is stored ... after the field values have been stored . Parameters: event - the store event. Since: JDO 2.0 void preStore

javax.jdo.listener.StoreCallback

JDO Interface StoreCallback This interface is used to notify instances of store events. Since: JDO 2.0 Public Methods void jdoPreStore () Called before the values are stored from this instance to the data store . Data store fields that might have been affected by modified non-persistent fields

PersistenceManager.getObjectById(oid,validate) - JDO Method

the data store , if required to determine the exact class. This will be the case of inheritance ... , and the instance does not exist in the data store , then this method might not fail ... transactional, then it must be verified in the data store . If the instance does not exist in the datastore

javax.jdo.InstanceCallbacks

after the values are loaded from the data store into this instance. This method is not modified by ... from: DeleteCallback Since: JDO 2.0 void jdoPreStore () Called before the values are stored from this instance to the data store . Data store fields that might have been affected by modified non

javax.jdo.spi.PersistenceCapable

); } The implementation is responsible for implementing the ObjectIdFieldConsumer to store the values ... from the same JDO implementation to locate a persistent instance with the same data store identity ... is not managed by the application or the data store , then the ObjectId returned is only valid

StoreCallback.jdoPreStore() - JDO Method

JDO Method in javax.jdo.listener.StoreCallback void jdoPreStore () Called before the values are stored from this instance to the data store . Data store fields that might have been affected by ... so that changes to persistent fields will be reflected in the data store . The context in

javax.jdo.spi.StateManager

is stored in the data store return true . Transient instances return false . Parameters: pc - the calling ... instances read in data store transactions; and persistent instances modified in optimistic transactions ... . Parameters: pc - the calling PersistenceCapable instance Return: the value of jdoFlags to be stored in

javax.jdo.annotations.Value

.1 Public Annotation Attributes String column default "" Name of the column to store the value in ... where this value is stored . Since: JDO 2.1 String serialized default "" Whether the value is to be stored

javax.jdo.annotations.Key

Public Annotation Attributes String column default "" Name of the column to store the key in ... . Since: JDO 2.1 String mappedBy default "" Name of a member in the value class where this key is stored . Since: JDO 2.1 String serialized default "" Whether the key is to be stored serialized (into a single

javax.jdo.Extent

collection of instances in the data store of the candidate class or interface possibly including ... of a particular class or interface to execute a Query in the data store over all instances ... contains all instances of a particular class or interface in the data store ; this method returns

javax.jdo.Query

to obtain persistent instances, values, and aggregate data from the data store . The PersistenceManager ... is done at the data store . Parameters: fromInclToExcl - comma-separated fromIncl and toExcl values ... algorithm is done at the data store . Parameters: fromIncl - 0-based inclusive start index toExcl - 0

StoreLifecycleListener.postStore(event) - JDO Method

JDO Method in javax.jdo.listener.StoreLifecycleListener void postStore (    InstanceLifecycleEvent  event ) Invoked whenever a persistent instance is stored , for example during javax ... have been stored . Parameters: event - the store event. Since: JDO 2.0

PersistenceManager.deletePersistent(pc) - JDO Method

) Delete the persistent instance from the data store . This method must be called in an active transaction. The data store object will be removed at commit. Unlike makePersistent , which makes the closure of the instance persistent, the closure of the instance is not deleted from the data store

javax.jdo.spi.StateInterrogation

data store identity. If the JDO identity is managed by the application, then the ObjectId may be used ... . If the JDO identity is not managed by the application or the data store , then the ObjectId returned ... is persistent. Instances that represent persistent objects in the data store return Boolean.TRUE

PersistenceManager.refresh(pc) - JDO Method

the state of the instance from the data store . In an optimistic transaction, the state of instances in the cache might not match the state in the data store . This method is used to reload the state of the instance from the data store so that a subsequent commit is more likely to succeed. Outside

PersistenceManagerFactory.getConnectionFactory2Name() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory String getConnectionFactory2Name () Get the name for the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. Return: the name of the data store connection factory. Since: JDO 1.0

PersistenceManagerFactory.setConnectionFactory2Name(connectionFactoryName) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setConnectionFactory2Name (   String connectionFactoryName ) Set the name for the second data store connection factory ... . Parameters: connectionFactoryName - the name of the data store connection factory. Since: JDO 1.0

PersistenceManagerFactory.getConnectionFactory2() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory Object getConnectionFactory2 () Get the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. Return: the data store connection factory. Since: JDO 1.0

PersistenceManagerFactory.setConnectionFactory2(connectionFactory) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setConnectionFactory2 (   Object connectionFactory ) Set the second data store connection factory. This is needed for managed ... specification. Parameters: connectionFactory - the data store connection factory. Since: JDO 1.0

PersistenceManagerFactory.getConnectionFactoryName() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory String getConnectionFactoryName () Get the name for the data store connection factory. Return: the name of the data store connection factory. Since: JDO 1.0

PersistenceManagerFactory.setConnectionFactoryName(connectionFactoryName) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setConnectionFactoryName (   String connectionFactoryName ) Set the name for the data store connection factory. Parameters: connectionFactoryName - the name of the data store connection factory. Since: JDO 1.0

PersistenceManagerFactory.getConnectionFactory() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory Object getConnectionFactory () Get the data store connection factory. Return: the data store connection factory. Since: JDO 1.0

PersistenceManagerFactory.setConnectionFactory(connectionFactory) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setConnectionFactory (   Object connectionFactory ) Set the data store connection factory. JDO implementations will support ... . Parameters: connectionFactory - the data store connection factory. Since: JDO 1.0

PersistenceManagerFactory.getConnectionURL() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory String getConnectionURL () Get the URL for the data store connection. Return: the URL for the data store connection. Since: JDO 1.0

PersistenceManagerFactory.setConnectionURL(url) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setConnectionURL (   String url ) Set the URL for the data store connection. Parameters: url - the URL for the data store connection. Since: JDO 1.0

PersistenceManagerFactory.getConnectionDriverName() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory String getConnectionDriverName () Get the driver name for the data store connection. Return: the driver name for the data store connection. Since: JDO 1.0

PersistenceManagerFactory.setConnectionDriverName(driverName) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setConnectionDriverName (   String driverName ) Set the driver name for the data store connection. Parameters: driverName - the driver name for the data store connection. Since: JDO 1.0

javax.jdo.annotations.Persistent

"" Column name where the values are stored for this member. Since: JDO 2.1 Column [] columns default ... that is stored in the member. For example, the declared member type might be an interface type

PersistenceManagerFactory.setConnectionUserName(userName) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setConnectionUserName (   String userName ) Set the user name for the data store connection. Parameters: userName - the user name for the data store connection. Since: JDO 1.0

PersistenceManagerFactory.setConnectionPassword(password) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setConnectionPassword (   String password ) Set the password for the data store connection. Parameters: password - the password for the data store connection. Since: JDO 1.0

PersistenceManagerFactory.getConnectionUserName() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory String getConnectionUserName () Get the user name for the data store connection. Return: the user name for the data store connection. Since: JDO 1.0

StateManager.isPersistent(pc) - JDO Method

JDO Method in javax.jdo.spi.StateManager boolean isPersistent (   PersistenceCapable pc ) Tests whether this object is persistent. Instances whose state is stored in the data store return true . Transient instances return false . Parameters: pc - the calling PersistenceCapable

JDOHelper.getObjectId(pc) - JDO Static Method

instance with the same data store identity. If the JDO identity is managed by the application ... the PersistenceCapable class. If the JDO identity is not managed by the application or the data store

javax.jdo.Transaction

data store locks until commit time. Return: the value of the Optimistic property. Since: JDO 1.0 ... setOptimistic (boolean optimistic) Optimistic transactions do not hold data store locks until commit time

StoreLifecycleListener.preStore(event) - JDO Method

JDO Method in javax.jdo.listener.StoreLifecycleListener void preStore (    InstanceLifecycleEvent  event ) Invoked whenever a persistent instance is stored , for example during javax ... StoreCallback.jdoPreStore is invoked. Parameters: event - the store event. Since: JDO 2.0