About class

api-jpa

javax.persistence.IdClass

Specifies a composite primary key class that is mapped to multiple fields or properties of the entity.(Annotation of JPA)

 
forum_thread

EmbeddedId with Generated field value

@Entity public class A { @EmbeddedId private Id id; } @Embeddable public class Id { @Generated private long id; private String zone; } How can I get the field Id.id auto-incremented?   ... Entity @ IdClass ( CompositePK. class ) public class A { @ Id private long uid ; @ ...

 
api-jdo

getInstance(cls)

An instance bound to a bundle.(Static Method of javax.jdo.spi.I18NHelper)

 
api-jpa

javax.persistence.EntityListeners

Specifies the callback listener classes to be used for an entity or mapped superclass.(Annotation of JPA)

 
api-jdo

registerClass(pcClass, fieldNames, fieldTypes, fieldFlags, persistenceCapableSuperclass, pc)

Register metadata by class.(Static Method of javax.jdo.spi.JDOImplHelper)

 
api-jpa

find(entityClass, primaryKey, lockMode, properties)

Find by primary key and lock, using the specified properties.(Method of javax.persistence.EntityManager)

 
manual

Storing JPA Entity Objects

Explains how to use JPA to store (persist) entity objects in the database.... code stores an instance of the Employee entity class in the database: Employee employee = new Employee ( ... if the argument is not an instance of an entity class. Only instances of entity classes can be stored in the database ...

 
release

2.7.1

... Fixed a bug in schema evolution of non entity class to entity class in multi level hierarchy.  Version 2.7.0 ...

 
release

2.6.9

... newObjectIdInstance to support classes with no ID class. Fixed a NullPointerException  due to ... #255 ). Fixed a bug in enhancing an entity class with static reference to Log4j . Fixed a bug in loading ...

 
api-jpa

transform(loader, className, classBeingRedefined, protectionDomain, classfileBuffer)

Invoked when a class is being loaded or redefined.(Method of javax.persistence.spi.ClassTransformer)