ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh
39

Is named-query supported in orm.xml

I prefer to keep custom JPQL named queries in an external file, e.g. orm.xml, rather than in ... against the JPA 2 ORM schema, probably because of the location of the named-query element in ... queries should be defined in the XML before any type (entity, embeddable, etc.) definition. Named queries
38

JPQL keyword in entity - what to do?

and so on in my entities? lwalkowski Lukasz Walkowski It seems as an ObjectDB bug ... you for your report. There was another unrelated bug in handling new expressions in result queries. Please try ... , but there is no one for this field. Am I right, or I'm doing something wrong? Code is exactly the same as in
38

Multi part paths in a composite index must have the same length

Hi, I am trying to create some index in a DB - but I get an exception when i try to commit. Exception in thread "main" [ObjectDB 2.6.0_01] javax.persistence.PersistenceException Invalid index path 'tStamp.value / instrumentId' in type Entities.OBN (error 328) at com.objectdb.jpa.EMImpl
38

Retrieve data of all entity classes in a single query

I have in an objectdb file 10 Entity Classes with some data in each (Athlete, Trainer, Stadium etc) This is the code I use to retrieve all Managed Types and data for the Athlete class Metamodel ... fields in a generic way using Java reflection. support Support Thanks for your answers So in case I
38

java.lang.ClassCastException in query results

I have a simple object stored in a ObjectDb file Stadium Name (java.lang.String) Capacity (int) City (java.lang.String) When i run the following code i get the ClassCastException in the "for (Stadium ... .Capacity + ", City: " + result.City); } In debug mode i see that the objects in List results are of type
38

Calendar in Criteria Querys

got such methods, but i dont know how to use those in my query. suez Tobias JPA supports 3 temporal ... ) {}             c2 = Calendar.getInstance();         }     } } Notice that Calendar values are stored in ... Support If I am running your example I get the folling error: Exception in thread "main" [ObjectDB 2.3
38

How find out ObjectDB version at runtime (in a web app)

of objectdb-2.6.9_02 in a Glassfish web app. Can see correct version of objectdb-2.6.9_02 in /build ... at run-time ? It does not seem to be in the odb logs, and turning on the debug mode does not ... in the header of the log output. webel Dr Darren Kelly Answered here already: https://www.objectdb
7

How to check what is taking most space in DB file

. However, it seems relatively easy to expose it in the Explorer, so following your request we will try to implement ... Can you be more specific about how "soon"? thamal Tomas Hamal ObjectDB 2.8.3 adds information in the Explorer (on the Schema tab) about the space in bytes that each entity type consumes (for storing
7

message: RetrievalTask in log

we faced a poor performance of objectdb last week, during that time frame we have this message in ... information is written in addition to throwing an exception. Do you see that exception in the log? Maybe ... entry. support Support unfortunately there is no exception in the log, we'll check our logs hgzwicker Hans-Georg Zwicker
7

unexpected exception - in query

I received the following exception while trying to process a query: Exception in thread "main ... the exception in the attached test. Please check the new build (2.0.4_02) that should fix it. Thank you for this report, but please try to provide more details (and a more informative title) in

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