ObjectDB ObjectDB

Internal Website Search

161-170 of 200 resultsRefresh
10

InternalError on multiple AND and JOIN Query

] ------------------------------------------------------------------------ [INFO] Building Example Objectdb test ... /pedwards/CONTEXTSPACE_workarea/objectdb_example/target [INFO] [resources:resources {execution: default ... dependent! [INFO] Compiling 9 source files to /home/pedwards/CONTEXTSPACE_workarea/objectdb_example
10

Problem with byte arrays in JDO - internal exception

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

Update Entity references if we change the type of an entity

. As example (like in the attached example): We have an EntityA that have a reference to an EntityB. But now we introduced as example a new Entity NewKindOfEntityB. And we have a defined logic ... to detect that the reference is 'broken' and then try to refresh the reference. A one file example
1

javax.persistence.JoinColumns

must be specified in each such JoinColumn annotation. Example: @ManyToOne @JoinColumns
1

javax.persistence.criteria.SetJoin

the get operation in order to avoid the use of Path variables. For example: CriteriaQuery
1

javax.persistence.criteria.Join

the get operation in order to avoid the use of Path variables. For example: CriteriaQuery
1

javax.persistence.MappedSuperclass

the AttributeOverride and AssociationOverride annotations or corresponding XML elements. Example
1

javax.persistence.IdClass

and their types must be the same. Example: @IdClass(com.acme.EmployeePK.class) @Entity public class
0

setRange(fromInclToExcl)

":". For example, setRange("50, 70"); or setRange(":from, :to"); or setRange("50
0

preDelete(event)

Method javax.jdo.listener.DeleteLifecycleListener void preDelete( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is deleted, for example during javax.jdo.PersistenceManager.deletePersistent. Access to field values within this call are permitted. This method is called before

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