ObjectDB Database Search

101-150 of 200 results

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

AttributeNode.getAttributeName() - JPA Method

JPA Method in javax.persistence.AttributeNode String getAttributeName () Return the name of the attribute corresponding to the attribute node. Return: name of the attribute Since: JPA 2.1

AttributeNode.getSubgraphs() - JPA Method

JPA Method in javax.persistence.AttributeNode Map getSubgraphs () Return the Map of subgraphs associated with this attribute node. Return: Map of subgraphs associated with this attribute node or empty Map if none have been defined Since: JPA 2.1

AttributeNode.getKeySubgraphs() - JPA Method

JPA Method in javax.persistence.AttributeNode Map getKeySubgraphs () Return the Map of subgraphs associated with this attribute node's map key. Return: Map of subgraphs associated with this attribute node's map key or empty Map if none have been defined Since: JPA 2.1

Cache.contains(cls,primaryKey) - JPA Method

JPA Method in javax.persistence.Cache boolean contains (   Class cls,    Object primaryKey ) Whether the cache contains data for the given entity. Parameters: cls - entity class primaryKey - primary key Return: boolean indicating whether the entity is in the cache Since: JPA 2.0

Cache.evict(cls,primaryKey) - JPA Method

JPA Method in javax.persistence.Cache void evict (   Class cls,    Object primaryKey ) Remove the data for the given entity from the cache. Parameters: cls - entity class primaryKey - primary key Since: JPA 2.0

Cache.evict(cls) - JPA Method

JPA Method in javax.persistence.Cache void evict (   Class cls ) Remove the data for entities of the specified class (and its subclasses) from the cache. Parameters: cls - entity class Since: JPA 2.0

Cache.evictAll() - JPA Method

JPA Method in javax.persistence.Cache void evictAll () Clear the cache. Since: JPA 2.0

Cache.unwrap(cls) - JPA Method

JPA Method in javax.persistence.Cache T unwrap (   Class  cls ) Return an object of the specified type to allow access to the provider-specific API. If the provider's Cache ... : PersistenceException - if the provider does not support the call Since: JPA 2.1

EntityExistsException.EntityExistsException() - JPA Constructor

JPA Constructor in javax.persistence.EntityExistsException EntityExistsException () Constructs a new EntityExistsException exception with null as its detail message. Since: JPA 1.0

EntityExistsException.EntityExistsException(message) - JPA Constructor

JPA Constructor in javax.persistence.EntityExistsException EntityExistsException (   String message ) Constructs a new EntityExistsException exception with the specified detail message. Parameters: message the - detail message. Since: JPA 1.0

EntityExistsException.EntityExistsException(message,cause) - JPA Constructor

JPA Constructor in javax.persistence.EntityExistsException EntityExistsException (   String message,    Throwable cause ) Constructs a new EntityExistsException exception with the specified detail message and cause. Parameters: message the - detail message. cause the - cause. Since: JPA 1.0

EntityExistsException.EntityExistsException(cause) - JPA Constructor

JPA Constructor in javax.persistence.EntityExistsException EntityExistsException (   Throwable cause ) Constructs a new EntityExistsException exception with the specified cause. Parameters: cause the - cause. Since: JPA 1.0

EntityGraph.getName() - JPA Method

JPA Method in javax.persistence.EntityGraph String getName () Return the name of a named EntityGraph (an entity graph defined by means of the NamedEntityGraph annotation, XML descriptor element, or added by means of the addNamedEntityGraph method. Returns null if the EntityGraph is not a named EntityGraph. Since: JPA 2.1

EntityGraph.addAttributeNodes(attributeName) - JPA Method

JPA Method in javax.persistence.EntityGraph void addAttributeNodes (   String... attributeName ) Add one or more attribute nodes to the entity graph. Parameters: attributeName - name ... of this entity. IllegalStateException - if the EntityGraph has been statically defined Since: JPA 2.1

EntityGraph.addAttributeNodes(attribute) - JPA Method

JPA Method in javax.persistence.EntityGraph void addAttributeNodes (    Attribute ... attribute ) Add one or more attribute nodes to the entity graph. Parameters: attribute - attribute Throws: IllegalStateException - if the EntityGraph has been statically defined Since: JPA 2.1

EntityGraph.addSubgraph(attribute) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addSubgraph (    Attribute  attribute ) Add a node to the graph that corresponds to a managed type. This allows for construction ... is not a managed type IllegalStateException - if the EntityGraph has been statically defined Since: JPA 2.1

EntityGraph.addSubgraph(attribute,type) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addSubgraph (    Attribute  attribute,    Class  type ) Add a node to the graph that corresponds to a managed ... IllegalStateException - if the EntityGraph has been statically defined Since: JPA 2.1

EntityGraph.addSubgraph(attributeName) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addSubgraph (   String attributeName ) Add a node to the graph that corresponds to a managed type. This allows for construction ... a managed type IllegalStateException - if the EntityGraph has been statically defined Since: JPA 2.1

EntityGraph.addSubgraph(attributeName,type) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addSubgraph (   String attributeName,    Class  type ) Add a node to the graph that corresponds to a managed ... IllegalStateException - if this EntityGraph has been statically defined Since: JPA 2.1

EntityGraph.addKeySubgraph(attribute) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addKeySubgraph (    Attribute  attribute ) Add a node to the graph that corresponds to a map key that is a managed type ... - if the attribute's target type is not an entity IllegalStateException - if this EntityGraph has been statically defined Since: JPA 2.1

EntityGraph.addKeySubgraph(attribute,type) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addKeySubgraph (    Attribute  attribute,    Class  type ) Add a node to the graph that corresponds to a map ... IllegalStateException - if this EntityGraph has been statically defined Since: JPA 2.1

EntityGraph.addKeySubgraph(attributeName) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addKeySubgraph (   String attributeName ) Add a node to the graph that corresponds to a map key that is a managed type ... - if the attribute's target type is not an entity IllegalStateException - if this EntityGraph has been statically defined Since: JPA 2.1

EntityGraph.addKeySubgraph(attributeName,type) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addKeySubgraph (   String attributeName,    Class  type ) Add a node to the graph that corresponds to a map ... a managed type IllegalStateException - if this EntityGraph has been statically defined Since: JPA 2.1

EntityGraph.addSubclassSubgraph(type) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addSubclassSubgraph (   Class  type ) Add additional attributes to this entity graph that correspond to attributes of subclasses ... Throws: IllegalArgumentException - if the type is not an entity type IllegalStateException - if the EntityGraph has been statically defined Since: JPA 2.1

EntityGraph.getAttributeNodes() - JPA Method

JPA Method in javax.persistence.EntityGraph List getAttributeNodes () Return the attribute nodes of this entity that are included in the entity graph. Return: attribute nodes for the annotated entity type or empty list if none have been defined Since: JPA 2.1

EntityManager.persist(entity) - JPA Method

JPA Method in javax.persistence.EntityManager void persist (   Object entity ) Make an instance managed and persistent. Parameters: entity - entity instance Throws ... entity manager of that is of type PersistenceContextType.TRANSACTION Since: JPA 1.0

EntityManager.merge(entity) - JPA Method

JPA Method in javax.persistence.EntityManager T merge (   T entity ) Merge the state of the given entity into the current persistence context. Parameters: entity - entity instance ... when invoked on a container-managed entity manager of that is of type PersistenceContextType.TRANSACTION Since: JPA 1.0

EntityManager.remove(entity) - JPA Method

JPA Method in javax.persistence.EntityManager void remove (   Object entity ) Remove the entity instance. Parameters: entity - entity instance Throws: IllegalArgumentException ... on a container-managed entity manager of type PersistenceContextType.TRANSACTION and there is no transaction Since: JPA 1.0

EntityManager.find(entityClass,primaryKey) - JPA Method

JPA Method in javax.persistence.EntityManager T find (   Class  entityClass,    Object primaryKey ) Find by primary key. Search for an entity of the specified ... argument does not denote an entity type or the second argument is is not a valid type for that entity's primary key or is null Since: JPA 1.0

EntityManager.find(entityClass,primaryKey,properties) - JPA Method

JPA Method in javax.persistence.EntityManager T find (   Class  entityClass,    Object primaryKey,    Map  properties ) Find by primary key ... - if the first argument does not denote an entity type or the second argument is is not a valid type for that entity's primary key or is null Since: JPA 2.0

EntityManager.find(entityClass,primaryKey,lockMode) - JPA Method

JPA Method in javax.persistence.EntityManager T find (   Class  entityClass,    Object primaryKey,     LockModeType  lockMode ) Find by primary ... and only the statement is rolled back PersistenceException - if an unsupported lock call is made Since: JPA 2.0

EntityManager.find(entityClass,primaryKey,lockMode,properties) - JPA Method

JPA Method in javax.persistence.EntityManager T find (   Class  entityClass,    Object primaryKey,     LockModeType  lockMode,    ... and only the statement is rolled back PersistenceException - if an unsupported lock call is made Since: JPA 2.0

EntityManager.getReference(entityClass,primaryKey) - JPA Method

JPA Method in javax.persistence.EntityManager T getReference (   Class  entityClass,    Object primaryKey ) Get an instance, whose state may be lazily fetched ... EntityNotFoundException - if the entity state cannot be accessed Since: JPA 1.0

EntityManager.flush() - JPA Method

JPA Method in javax.persistence.EntityManager void flush () Synchronize the persistence context to the underlying database. Throws: TransactionRequiredException - if there is no transaction or if the entity manager has not been joined to the current transaction PersistenceException - if the flush fails Since: JPA 1.0

EntityManager.setFlushMode(flushMode) - JPA Method

JPA Method in javax.persistence.EntityManager void setFlushMode (    FlushModeType  flushMode ) Set the flush mode that applies to all objects contained in the persistence context. Parameters: flushMode - flush mode Since: JPA 1.0

EntityManager.getFlushMode() - JPA Method

JPA Method in javax.persistence.EntityManager FlushModeType getFlushMode () Get the flush mode that applies to all objects contained in the persistence context. Return: flushMode Since: JPA 1.0

EntityManager.lock(entity,lockMode) - JPA Method

JPA Method in javax.persistence.EntityManager void lock (   Object entity,     LockModeType  lockMode ) Lock an entity instance that is contained in ... - if pessimistic locking fails and only the statement is rolled back PersistenceException - if an unsupported lock call is made Since: JPA 1.0

EntityManager.lock(entity,lockMode,properties) - JPA Method

JPA Method in javax.persistence.EntityManager void lock (   Object entity,     LockModeType  lockMode,    Map  properties ) Lock an entity ... - if pessimistic locking fails and only the statement is rolled back PersistenceException - if an unsupported lock call is made Since: JPA 2.0

EntityManager.refresh(entity) - JPA Method

JPA Method in javax.persistence.EntityManager void refresh (   Object entity ) Refresh the state of the instance from the database, overwriting changes made to the entity, if any ... EntityNotFoundException - if the entity no longer exists in the database Since: JPA 1.0

EntityManager.refresh(entity,properties) - JPA Method

JPA Method in javax.persistence.EntityManager void refresh (   Object entity,    Map  properties ) Refresh the state of the instance from the database, using ... .TRANSACTION EntityNotFoundException - if the entity no longer exists in the database Since: JPA 2.0

EntityManager.refresh(entity,lockMode) - JPA Method

JPA Method in javax.persistence.EntityManager void refresh (   Object entity,     LockModeType  lockMode ) Refresh the state of the instance from the database ... and only the statement is rolled back PersistenceException - if an unsupported lock call is made Since: JPA 2.0

EntityManager.refresh(entity,lockMode,properties) - JPA Method

JPA Method in javax.persistence.EntityManager void refresh (   Object entity,     LockModeType  lockMode,    Map  properties ) Refresh ... and only the statement is rolled back PersistenceException - if an unsupported lock call is made Since: JPA 2.0

EntityManager.clear() - JPA Method

JPA Method in javax.persistence.EntityManager void clear () Clear the persistence context, causing all managed entities to become detached. Changes made to entities that have not been flushed to the database will not be persisted. Since: JPA 1.0

EntityManager.detach(entity) - JPA Method

JPA Method in javax.persistence.EntityManager void detach (   Object entity ) Remove the given entity from the persistence context, causing a managed entity to become detached ... it. Parameters: entity - entity instance Throws: IllegalArgumentException - if the instance is not an entity Since: JPA 2.0

EntityManager.contains(entity) - JPA Method

JPA Method in javax.persistence.EntityManager boolean contains (   Object entity ) Check if the instance is a managed entity instance belonging to the current persistence context ... Throws: IllegalArgumentException - if not an entity Since: JPA 1.0

EntityManager.getLockMode(entity) - JPA Method

JPA Method in javax.persistence.EntityManager LockModeType getLockMode (   Object entity ) Get the current lock mode for the entity instance. Parameters: entity - entity instance ... is not a managed entity and a transaction is active Since: JPA 2.0

EntityManager.setProperty(propertyName,value) - JPA Method

JPA Method in javax.persistence.EntityManager void setProperty (   String propertyName,    Object value ) Set an entity manager property or hint. If a vendor ... argument is not valid for the implementation Since: JPA 2.0

EntityManager.getProperties() - JPA Method

JPA Method in javax.persistence.EntityManager Map getProperties () Get the properties and hints and associated values that are in effect for the entity manager. Changing the contents of the map does not change the configuration in effect. Return: map of properties and hints in effect for entity manager Since: JPA 2.0

EntityManager.createQuery(qlString) - JPA Method

JPA Method in javax.persistence.EntityManager Query createQuery (   String qlString ) Create an instance of Query for executing a Java Persistence query language statement. Parameters ... : IllegalArgumentException - if the query string is found to be invalid Since: JPA 1.0