ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
257

Storing JPA Entity Objects

New entity objects can be stored in the database either explicitly by invoking the persist method or implicitly as a result of a cascade operation. Explicit Persist The following code stores ... and changes its state to Managed. The new entity object is stored in the database when the transaction
122

How to store and compare Date up to sec.

How to store and compare date up to sec? By default it stores the dates like "23 May, 2020 10:25:23:112 AM" means date and timestamp including milisec but I want to store till sec("23 May, 2020 10:25:23 AM") like MySql and other db. They stores the date up to sec. Manoj Manoj Kumar Maharana
121

Why are my Map entries not stored?

Why are my values of the map "states" not stored in the database? It seems the 'State' is stored ... ) is stored (I see entries in the Explorer), but there seems to miss the connection. After DB request I ... that case the map content will be stored embedded in the Ticket instances and no further information
28

JPA Entity Fields

that do not participate in persistence and their values are never stored in the database (similar ... only transient (non persistent) entity fields with no real content to be stored in the database. Persistent ... otherwise (e.g. by using the @Transient annotation). Storing an entity object in the database does not
26

JPA Persistable Types

The term persistable types refers to data types that can be used for storing data in the database ... can be stored in the database directly. Other persistable types can be embedded in entity classes as fields. In addition, only instances of entity classes preserve identity and are stored
7

InstanceLifecycleEvent.STORE

Static Field javax.jdo.listener.InstanceLifecycleEvent int STORE Since: JDO 2.0
3

[ODB1] Chapter 6 - Persistent Objects

database content, or a transient object, i.e. not related to any database. Storing Objects Explicitly ... is automatically stored in the database when the transaction is committed (unless it is being deleted ... of PersistenceManager. The makePersistentAll(...) method stores all the elements in the specified
3

[ODB1] Chapter 2 - A Quick Tour

another string is stored in the database and all the strings in the database are printed to standard ... catch (JDOException x) { 23 // If not found - construct and store a new list ... instances. ObjectDB, as a pure object database, can simply store a memory data structure in the database
2

[ODB1] Chapter 3 - Persistent Classes

Persistent Classes are user defined classes whose instances can be stored in a database using JDO ... Fields and Types Storing a persistent object in the database does not store methods and code. Only the state of the object as reflected by its persistent fields is stored. Persistent fields, by default
2

[ODB1] Chapter 4 - JDO Metadata

of class X are not persistent fields, and when an instance of class C is stored, only persistent fields from classes B and C are stored. The closest persistent super class in the inheritance hierarchy ... is never stored in the database. The main difference is that, on transaction rollback, it returns automatically

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