ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
14

Defining a JPA Entity Class

to serializable classes, which are marked as having the ability to be serialized. The Point Entity ... to the NotSerializableException that Java throws (unrelated to JPA), when trying to serialize non-serializable objects
10

Entity Management Settings

method for instances of serializable types that are non persistable otherwise (e.g. a user defined
10

Posting Sample Code

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

Step 2: Entity Class and Persistence Unit

the new source file content with the following code: package guest; import java.io.Serializable ... ; import javax.persistence.Id; @Entity public class Guest implements Serializable { private
2

Step 2: Define a JPA Entity Class

code: package guest; import java.io.Serializable; import java.sql.Date; import javax.persistence ... class Guest implements Serializable { private static final long serialVersionUID = 1L
2

Step 2: Entity Class and Persistence Unit

content with the following code: package guest; import java.io.Serializable; import java.sql ... .persistence.Id; @Entity public class Guest implements Serializable { private static final long
2

Step 2: Define a JPA Entity Class

.Serializable; import java.sql.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity public class Guest implements Serializable
1

[ODB1] Chapter 6 - Persistent Objects

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

javax.jdo.Constants

See Also: PersistenceManagerFactory.supportedOptions() String PROPERTY_TRANSACTION_ISOLATION_LEVEL_SERIALIZABLE "javax.jdo.option.TransactionIsolationLevel.serializable" "javax.jdo.option.TransactionIsolationLevel.serializable ... .getIsolationLevel() String TX_SERIALIZABLE Transaction isolation level representing the requirement
0

javax.jdo.PersistenceManagerFactory

javax.jdo Interface PersistenceManagerFactory Superinterfaces: Serializable ... -read snapshot serializable Parameters: level - the transaction isolation level Since: JDO 2.2 ... .TX_REPEATABLE_READ Constants.TX_SNAPSHOT Constants.TX_SERIALIZABLE void setTransactionType(String

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support