Internal Website Search

11-20 of 133 resultsRefresh

ObjectDB Object Database Features

types (@Embeddable) Mapped super classes (@MappedSuperclass) Enum classes Serializable types Persistent ... . Arrays , including multidimensional arrays. Any other serializable type . Lifecycle Events JPA

Entity Management Settings

of serializable types that are non persistable otherwise (e.g. a user defined class, which is not an entity

Posting Sample Code

a persistence unit, An entity or IdClass class should implement the java.io. Serializable interface).

Step 2: Define a JPA Entity Class

code: package guest; import java.io. Serializable ; import java.sql.Date; import javax.persistence.Entity ... implements Serializable { private static final long serialVersionUID = 1L; // Persistent Fields: @Id

[ODB1] Chapter 6 - Persistent Objects

the Serializable interface and it has a meaningful toString() method. The toString() method of object IDs in

javax.jdo.PersistenceManagerFactory

JDO Interface PersistenceManagerFactory Super Interfaces: Serializable ... are: read-uncommitted read-committed repeatable-read snapshot serializable Parameters: level ... Constants.TX_READ_COMMITTED Constants.TX_REPEATABLE_READ Constants.TX_SNAPSHOT Constants.TX_ SERIALIZABLE

PersistenceManagerFactory.setTransactionIsolationLevel(level)

from low to high are: read-uncommitted read-committed repeatable-read snapshot serializable ... _READ_UNCOMMITTED Constants.TX_READ_COMMITTED Constants.TX_REPEATABLE_READ Constants.TX_SNAPSHOT Constants.TX_ SERIALIZABLE Since: JDO 2.2

Transaction.setIsolationLevel(level)

serializable Parameters: level - the transaction isolation level See Also: getIsolationLevel () Constants.TX_READ_UNCOMMITTED Constants.TX_READ_COMMITTED Constants.TX_REPEATABLE_READ Constants.TX_SNAPSHOT Constants.TX_ SERIALIZABLE Since: JDO 2.2

javax.jdo.Transaction

to high are: read-uncommitted read-committed repeatable-read snapshot serializable Parameters: level ... .TX_READ_COMMITTED Constants.TX_REPEATABLE_READ Constants.TX_SNAPSHOT Constants.TX_ SERIALIZABLE

javax.jdo.listener.InstanceLifecycleEvent

that although InstanceLifecycleEvent inherits Serializable interface from EventObject, it is not intended to be Serializable . Appropriate serialization methods are implemented to throw