ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh
5

Performance issue in a query due to compareTo calls

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

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
5

UserException: Package com.example.model is not found by the enhancer

object member variables rather than getters and setters. I think if you use the @Warning annotation
5

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
5

@Column( name = "columnName") doesn't work

like member defined in class id, timestamp, keyDescriptor, dataItems, codedDataBlock, level
5

collection of embedded objects

both the entity class field and the embedded class field, e.g.: @Entity @Index(members={"setOfB
5

Query to find object from element of a contained collection

I have an OrderData class, containing an OrderItemData collection, i would like to find OrderData elements by OrderData.items.itemId. I cant get a proper query with MEMBER OF or IN. Does anyone have an idea on how i could formulate that as Typed or CriteriaBuilder query? Thanks. @Entity public
5

alter table

the Meta still has two sets of members, see the attachment! TIA gzdillon Lai Yang The new issue
5

Saving custom list which implements java.util.List fails

the list-members to a list A whatever of kind (maybe objectDB-intern) - It then gets the list B
1

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

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