JDO Persistence Guide (v5.0) Table of Contents PersistenceManagerFactory . 2 PersistenceManagerFactory for Persistence-Unit . 3 Named PersistenceManagerFactory . 6 PersistenceManagerFactory Properties . 8 Level 2 Cache . 30 Datastore Schema . 37 Schema Generation for persistence-unit . 37 Schema Auto-Generation at runtime . 38 Schema Generation : Validation . 38 Schema Generation : Naming Issues. 39 Schema Generation : Column Ordering . 39 Read-Only . 39 SchemaTool . 40 SchemaTool API . 47 AutoStart Mechanism . 48 AutoStartMechanism : None . 48 AutoStartMechanism : XML . 48 AutoStartMechanism : Classes . 49 AutoStartMechanism : MetaData . 49 AutoStartMechanism : SchemaTable (RDBMS only) . 49 PersistenceManager . 51 Opening/Closing a PersistenceManager . 51 Persisting an Object . 52 Persisting multiple Objects in one call . 52 Finding an object by its identity . 52 Finding an object by its class and primary-key value . 53 Deleting an Object . 54 Modifying a persisted Object . 55 Detaching a persisted Object . 56 Attaching a persisted Object . 58 Refresh of objects . 58 Cascading Operations . 59 Managing Relationships. 60 Managed Relationships . 61 Level 1 Cache . 62 PersistenceManagerProxy. 63 Datastore Sequences API . 63 Object Lifecycle . 67 Helper Methods . 67 Transactions . 69 Locally-Managed Transactions . 69 JTA Transactions . 70 Container-Managed Transactions . 71 Spring-Managed Transactions . 71 No Transactions . 72 Flushing . 72 Transaction Isolation . 72 JDO Transaction Synchronisation . 73 Read-Only Transactions . 74 Transaction Savepoints (RDBMS) . 75 Transaction Locking . 76 Datastore Connections . 80 Transactional Context . 80 Nontransactional Context . ..
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages168 Page
-
File Size-