ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
85

fetch by enum

I have Entity named Fruits with a column Type which is a enum. I want to fetch the based on Type Eg. Query qry= em.createQuery("Select f from Fruits f where f.Type =: t "); qry.setParameter("t",Type.Sweet); But it return a null result list. Manoj Manoj Kumar Maharana It should work. Please provide
85

Fetch Set from DB only works on debug mode

I have a class A, that contains a LinkedHashSet of another class named B. When I try to fetch that hash set, it returns a null pointer. BUT, when I run the program in debug mode, it works fine!! So I'm almost sure it is a bug? Or maybe something I'm doing wrong? Here is a test class that shows
85

What is the query to fetch all schema list of my database?

Can you please tell me how to fetch all schema available in my database? Deepak_1996 Deepak Kumar Maharana You can use the JPA metamodel API. support Support
85

objectdb got hang after fetch some record.

All of my client threads are got hang after doing some fetch operations due to objectdb. Stack trace: java.net.SocketInputStream.socketRead0(Native Method) java.net.SocketInputStream.socketRead(SocketInputStream.java:116) java.net.SocketInputStream.read(SocketInputStream.java:171) java.net
81

Getting this error when fetching records from mem db.

Getting this error when fetching records from mem db.
16

ObjectDB Object Database Features

fetch and JPA query FETCH JOIN. Configurable JDO fetch groups. Ease of Use and Learning ObjectDB ... ). FROM (including INNER JOIN, LEFT OUTER JOIN and JOIN FETCH). WHERE (with both JPQL and JDOQL
16

Entity Management Settings

" /> <fetch hollow="true" /> <persist serialization="false" /> <cascade-persist always="auto ... all its EntityManager instances. The level 2 cache is disabled by specifying 0 or 0mb. The <fetch> element <fetch hollow="true" /> The hollow attribute of the <fetch> element (whose value is "true" or
14

javax.persistence.criteria.FetchParent

javax.persistence.criteria Interface FetchParent<Z,X> Subinterfaces: CollectionJoin, Fetch, From ... which may function as the parent of Fetches. Since: JPA 2.0 Fetch<X,Y> fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join to the specified
14

javax.persistence.criteria.From

Since: JPA 2.0 Fetch<X,Y> fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join to the specified attribute using an inner join. Parameters: attributeName - name of the attribute for the target of the join Returns: the resulting fetch join Throws
1

[ODB1] Chapter 3 - Persistent Classes

when a persistent object is being loaded from the database, just after the default fetch group ... the default fetch group, should not be accessed by this method. void jdoPreStore() Called ... this loaded object that are not in the default fetch group should not be accessed by this method. void

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