ObjectDB ObjectDB

Internal Website Search

41-50 of 186 resultsRefresh
26

Extra uninitialised entities spawned on merge()

.createEntityManager();         em.getTransaction().begin();         Element root = new Element(null, "root");         em.persist(root);         em.getTransaction().commit();         Long id = root.getId();         root = em.find(Element.class, id); //now detached, since outside transaction
5

javax.persistence.criteria.CriteriaBuilder

Expression<Double> sqrt( Expression<?> x) Create an expression that returns the square root of its argument. Create an expression that returns the square root of its argument. Parameters: x - expression Returns: square root Since: JPA 2.0 Expression<String> substring( Expression<String> x, int from) Create
5

javax.persistence.criteria.From

, PluralJoin, Root, SetJoin Represents a bound type, usually an entity that appears in the from clause ... (Person.class); Root p = q.from(Person.class); q.select(p) .where(cb.isMember ... = cb.createQuery(Person.class); Root p = q.from(Person.class); Path > nicknames = p
5

javax.persistence.criteria.Path

>, TupleElement<X> Subinterfaces: CollectionJoin, From, Join, ListJoin, MapJoin, PluralJoin, Root, SetJoin ... : CriteriaQuery q = cb.createQuery(Person.class); Root p = q ... "))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p
4

javax.persistence.criteria.SetJoin

q = cb.createQuery(Person.class); Root p = q.from(Person.class); q ... "))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class
4

javax.persistence.criteria.Join

q = cb.createQuery(Person.class); Root p = q.from(Person.class); q ... "))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class
4

sqrt(x)

Method javax.persistence.criteria.CriteriaBuilder Expression<Double> sqrt( Expression<?> x ) Create an expression that returns the square root of its argument. Parameters: x - expression Returns: square root Since: JPA 2.0
4

get(attributeName)

. For example: CriteriaQuery q = cb.createQuery(Person.class); Root p = q ... "))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from
4

javax.persistence.criteria.PluralJoin

. For example: CriteriaQuery q = cb.createQuery(Person.class); Root ... . >get("nicknames"))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root
0

javax.jdo.PersistenceManager

.spi.Detachable interface. Parameters: pc - the root instance to make transient. useFetchPlan ... fetch plan to determine which fields to load and which instances to make transient pcs - the root ... - the root instances to make transient. useFetchPlan - whether to use the current fetch plan to determine

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