Internal Website Search

1-50 of 200 results

SELECT clause (JPQL / Criteria API)

classes and result constructor expressions. Result Classes ( Constructor Expressions) JPA supports ... must have a compatible constructor that matches the SELECT result expressions, as follows: package example ... class with a compatible constructor can be used as a result class. It could be a JPA managed class (e

JPA Persistable Types

no-arg constructor . cannot be final and cannot have final methods or final instance variables. ObjectDB ... . In most cases ObjectDB can overcome a missing no-arg constructor . Aside from these constraints ... . It can contain constructors , methods, fields and nested types with any access modifiers (public, protected

JPA Lifecycle Events

should be stateless and should have a public no-arg constructor (or no constructor at all) to enable

Retrieving JPA Entity Objects

. Notice that construction of a new managed object during retrieval uses the no-arg constructor . Therefore, it is recommended to avoid unnecessary time consuming operations in no-arg constructors

PessimisticLockException.PessimisticLockException(message,cause,entity) - JPA Constructor

JPA Constructor in javax.persistence.PessimisticLockException PessimisticLockException (   String message,    Throwable cause,    Object entity ) Constructs a new PessimisticLockException exception with the specified detail message, cause

LockTimeoutException.LockTimeoutException(message) - JPA Constructor

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

PessimisticLockException.PessimisticLockException(entity) - JPA Constructor

JPA Constructor in javax.persistence.PessimisticLockException PessimisticLockException (   Object entity ) Constructs a new PessimisticLockException exception with the specified entity. Parameters: entity - the entity. Since: JPA 2.0

LockTimeoutException.LockTimeoutException() - JPA Constructor

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

PessimisticLockException.PessimisticLockException(cause) - JPA Constructor

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

PessimisticLockException.PessimisticLockException(message) - JPA Constructor

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

PessimisticLockException.PessimisticLockException(message,cause) - JPA Constructor

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

LockTimeoutException.LockTimeoutException(message,cause,entity) - JPA Constructor

JPA Constructor in javax.persistence.LockTimeoutException LockTimeoutException (   String message,    Throwable cause,    Object entity ) Constructs a new LockTimeoutException exception with the specified detail message, cause, and entity

LockTimeoutException.LockTimeoutException(entity) - JPA Constructor

JPA Constructor in javax.persistence.LockTimeoutException LockTimeoutException (   Object entity ) Constructs a new LockTimeoutException exception with the specified object. Parameters: entity - the entity. Since: JPA 2.0

PessimisticLockException.PessimisticLockException() - JPA Constructor

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

EntityNotFoundException.EntityNotFoundException(message) - JPA Constructor

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

EntityNotFoundException.EntityNotFoundException() - JPA Constructor

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

PersistenceException.PersistenceException(cause) - JPA Constructor

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

OptimisticLockException.OptimisticLockException(cause) - JPA Constructor

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

OptimisticLockException.OptimisticLockException(message) - JPA Constructor

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

OptimisticLockException.OptimisticLockException(message,cause) - JPA Constructor

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

[ODB1] Chapter 3 - Persistent Classes

has to: be declared in a JDO metadata file in XML format. include a no-arg constructor . implement ... constructor if it is missing, so out of the three requirements described above, developers ... . It can include constructors , methods, fields, attributes ( final , abstract , public ), inheritance

[ODB1] Chapter 2 - A Quick Tour

a no-arg constructor . implement the javax.jdo.spi.PersistenceCapable interface. The PersistenceCapable ... private int age; 9 10 // Constructors : 11 public Person() {} 12 public Person(String firstName ... constructor (line 11). If it is declared as persistent in a JDO metadata file, it can easily

[ODB1] Chapter 6 - Persistent Objects

the database, its no-arg constructor is used to construct a memory object to represent it. Therefore, for efficiency sake, it is recommended to avoid time consuming operations in no-arg constructors

JDOPermission.JDOPermission(name,actions) - JDO Constructor

JDO Constructor in javax.jdo.spi.JDOPermission JDOPermission (   String name,    String actions ) Constructs a JDOPermission with the specified name and actions. The actions should be null ; they are ignored. This constructor exists for use by the Policy object

LongIdentity.LongIdentity(pcClass,key) - JDO Constructor

JDO Constructor in javax.jdo.identity.LongIdentity LongIdentity (   Class pcClass,    long key ) Constructor with class and key. Parameters: pcClass - the class key - the key Since: JDO 1.0

LongIdentity.LongIdentity(pcClass,str) - JDO Constructor

JDO Constructor in javax.jdo.identity.LongIdentity LongIdentity (   Class pcClass,    String str ) Constructor with class and key. Parameters: pcClass - the class str - the key Since: JDO 1.0

LongIdentity.LongIdentity(pcClass,key) - JDO Constructor

JDO Constructor in javax.jdo.identity.LongIdentity LongIdentity (   Class pcClass,    Long key ) Constructor with class and key. Parameters: pcClass - the class key - the key Since: JDO 1.0

IntIdentity.IntIdentity() - JDO Constructor

JDO Constructor in javax.jdo.identity.IntIdentity IntIdentity () Constructor only for Externalizable. Since: JDO 1.0

IntIdentity.IntIdentity(pcClass,str) - JDO Constructor

JDO Constructor in javax.jdo.identity.IntIdentity IntIdentity (   Class pcClass,    String str ) Constructor with class and key. Parameters: pcClass - the class str - the key Since: JDO 1.0

IntIdentity.IntIdentity(pcClass,key) - JDO Constructor

JDO Constructor in javax.jdo.identity.IntIdentity IntIdentity (   Class pcClass,    Integer key ) Constructor with class and key. Parameters: pcClass - the class key - the key Since: JDO 1.0

IntIdentity.IntIdentity(pcClass,key) - JDO Constructor

JDO Constructor in javax.jdo.identity.IntIdentity IntIdentity (   Class pcClass,    int key ) Constructor with class and key. Parameters: pcClass - the class key - the key Since: JDO 1.0

ObjectIdentity.ObjectIdentity() - JDO Constructor

JDO Constructor in javax.jdo.identity.ObjectIdentity ObjectIdentity () Constructor only for Externalizable. Since: JDO 1.0

ObjectIdentity.ObjectIdentity(pcClass,param) - JDO Constructor

JDO Constructor in javax.jdo.identity.ObjectIdentity ObjectIdentity (   Class pcClass,    Object param ) Constructor with class and key. Parameters: pcClass - the class param - the key Since: JDO 1.0

LongIdentity.LongIdentity() - JDO Constructor

JDO Constructor in javax.jdo.identity.LongIdentity LongIdentity () Constructor only for Externalizable. Since: JDO 1.0

ByteIdentity.ByteIdentity(pcClass,key) - JDO Constructor

JDO Constructor in javax.jdo.identity.ByteIdentity ByteIdentity (   Class pcClass,    Byte key ) Constructor with class and key. Parameters: pcClass - the target class key - the key Since: JDO 1.0

ByteIdentity.ByteIdentity(pcClass,key) - JDO Constructor

JDO Constructor in javax.jdo.identity.ByteIdentity ByteIdentity (   Class pcClass,    byte key ) Constructor with class and key. Parameters: pcClass - the target class key - the key Since: JDO 1.0

ByteIdentity.ByteIdentity() - JDO Constructor

JDO Constructor in javax.jdo.identity.ByteIdentity ByteIdentity () Constructor only for Externalizable. Since: JDO 1.0

ByteIdentity.ByteIdentity(pcClass,str) - JDO Constructor

JDO Constructor in javax.jdo.identity.ByteIdentity ByteIdentity (   Class pcClass,    String str ) Constructor with class and key. Parameters: pcClass - the target class str - the key Since: JDO 1.0

CharIdentity.CharIdentity(pcClass,str) - JDO Constructor

JDO Constructor in javax.jdo.identity.CharIdentity CharIdentity (   Class pcClass,    String str ) Constructor with class and key. The String must have exactly one character. Parameters: pcClass - the target class str - the key Since: JDO 1.0

CharIdentity.CharIdentity(pcClass,key) - JDO Constructor

JDO Constructor in javax.jdo.identity.CharIdentity CharIdentity (   Class pcClass,    Character key ) Constructor with class and key. Parameters: pcClass - the target class key - the key Since: JDO 1.0

CharIdentity.CharIdentity() - JDO Constructor

JDO Constructor in javax.jdo.identity.CharIdentity CharIdentity () Constructor only for Externalizable. Since: JDO 1.0

CharIdentity.CharIdentity(pcClass,key) - JDO Constructor

JDO Constructor in javax.jdo.identity.CharIdentity CharIdentity (   Class pcClass,    char key ) Constructor with class and key. Parameters: pcClass - the target class key - the key Since: JDO 1.0

SingleFieldIdentity.SingleFieldIdentity() - JDO Constructor

JDO Constructor in javax.jdo.identity.SingleFieldIdentity SingleFieldIdentity () Constructor only for Externalizable. Since: JDO 2.0

ShortIdentity.ShortIdentity() - JDO Constructor

JDO Constructor in javax.jdo.identity.ShortIdentity ShortIdentity () Constructor only for Externalizable. Since: JDO 1.0

ShortIdentity.ShortIdentity(pcClass,key) - JDO Constructor

JDO Constructor in javax.jdo.identity.ShortIdentity ShortIdentity (   Class pcClass,    short key ) Constructor with class and key. Parameters: pcClass - the class key - the key Since: JDO 1.0

ShortIdentity.ShortIdentity(pcClass,str) - JDO Constructor

JDO Constructor in javax.jdo.identity.ShortIdentity ShortIdentity (   Class pcClass,    String str ) Constructor with class and key. Parameters: pcClass - the class str - the key Since: JDO 1.0

ShortIdentity.ShortIdentity(pcClass,key) - JDO Constructor

JDO Constructor in javax.jdo.identity.ShortIdentity ShortIdentity (   Class pcClass,    Short key ) Constructor with class and key. Parameters: pcClass - the class key - the key Since: JDO 1.0

StringIdentity.StringIdentity(pcClass,key) - JDO Constructor

JDO Constructor in javax.jdo.identity.StringIdentity StringIdentity (   Class pcClass,    String key ) Constructor with class and key. Parameters: pcClass - the class key - the key Since: JDO 1.0

StringIdentity.StringIdentity() - JDO Constructor

JDO Constructor in javax.jdo.identity.StringIdentity StringIdentity () Constructor only for Externalizable. Since: JDO 1.0

JDOPermission.JDOPermission(name) - JDO Constructor

JDO Constructor in javax.jdo.spi.JDOPermission JDOPermission (   String name ) Constructs a JDOPermission with the specified name. Parameters: name - the name of the JDOPermission Since: JDO 1.0