ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh

wrong query result

of fields (Content-Members) is changed alternately (48/49, 51/52), which indicates that different

Efficient query on EmbeddedId

@Indices({@Index(members = {"id.field2"})}) or do I have to duplicate entity.id.field2 into entity

Using Enum type in NamedQuery: Field is not found in type

I'm trying to switch an application that worked fine in Hibernate to ObjectDB and am having issues with queries that reference enum types. On my entity object is a static enum public static enum Type {     A,B,C } that is stored in an @Enumerated member variable private Type type

Get multiple entities by Id

I'm trying to fetch a list of entities, by their Id. I Use this query: SELECT c FROM User c WHERE c.id IN :ids This querey works as long as I don't set the property "id" as @Id. If i set @Id to any other member, this query works, if I set id as @Id, it stops working and gives zero results

Performance issue in a query due to compareTo calls

, cascade = CascadeType.REMOVE) private Values valuesRef; } @Index (members = {"step.stepNumber

Navigation through Path to evaluate collection

"+        "WHERE item.sku =: key "+        "OR id MEMBER OF :item.apiId.identifier "+        "ORDER BY item

@OneToOne query issue with OR and IS NULL

is the owner. Now I persisted 2 entities of type A. In the first one, the member "another" is null... in

Composite Index error 328

( { @javax.jdo.annotations.Index(members = {"id","pwd","access"}) } ) public class

query.getResultList() throws ClassCastException

I modified the example code to include an index on the Point class like so: @Index(members={"x","y"}) Then when I run the following query: TypedQuery<Point> query = em.createQuery("SELECT p FROM Point p where p.x <= :x and p.y >= :y", Point.class); I get the exception at the end. I do not

Sort of very large objects - out of memory

    @Index(members={"priority", "createTime"})     public static class Message { If there is an index

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