ObjectDB ObjectDB

Internal Website Search

171-180 of 200 resultsRefresh
8

Problem with byte arrays in JDO - ClassCastException

.PersistenceManagerFactory; import javax.jdo.Query; import spiffy.test.model.Example; /** * * @author ... ();         Query query = pm.newQuery(Example.class);         query.deletePersistentAll();         pm.currentTransaction().commit();         pm.currentTransaction().begin();         Example example1 = new
1

javax.persistence.MapKeyTemporal

with the ElementCollection, OneToMany, or ManyToMany annotation. Example: @OneToMany @MapKeyTemporal(DATE
1

get(attributeName)

. For example: CriteriaQuery q = cb.createQuery(Person.class); Root p = q
1

javax.persistence.criteria.PluralJoin

. For example: CriteriaQuery q = cb.createQuery(Person.class); Root
1

javax.persistence.Transient

javax.persistence Annotation Transient Target: Fields (including property get methods) Specifies that the property or field is not persistent. It is used to annotate a property or field of an entity class, mapped superclass, or embeddable class. Example: @Entity public class Employee
1

javax.persistence.Table

javax.persistence Annotation Table Target: Classes Specifies the primary table for the annotated entity. Additional tables may be specified using SecondaryTable or SecondaryTables annotation. If no Table annotation is specified for an entity class, the default values apply. Example: @Entity
1

javax.persistence.AttributeOverrides

javax.persistence Annotation AttributeOverrides Target: Classes and fields (including property get methods) Used to override mappings of multiple properties or fields. Example: @Embedded @AttributeOverrides({ @AttributeOverride(name="startDate
0

postDelete(event)

Method javax.jdo.listener.DeleteLifecycleListener void postDelete( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is deleted, for example during javax.jdo.PersistenceManager.deletePersistent. This method is called after the instance transitions to persistent-deleted. Access
0

jdoCopyKeyFieldsFromObjectId(fm, oid)

field in the ObjectId. For example, an ObjectId class that has three key fields (int id, String name
0

jdoCopyKeyFieldsToObjectId(fm, oid)

in the ObjectId. For example, an ObjectId class that has three key fields (int id, String name

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