About removed

forum_thread

TYPE Expression

Hi there! Trying to add a simple type expression with the criteria api like in your sample: cb.notEqual(e.type(), cb.literal(Country.class)); results in the error: Caused by: com.objectdb.o.UserException: Attempt to store an instance of a non persistable type java.lang.Class at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.TYW.writeElement(TYW.java:223) at com.objectdb.o.QRR.l(QRR.java:424) at com.objectdb.o.QRR.g(QRR.java:230) at com.objectdb.o.QRR.b(QRR.java:151) #1 2011-12-06 00:01 Hi there! Trying to add a simple type expression with the criteria api like in your sample: cb. e ...

 
issue

[Explorer] Editing Database Files

Some features of ObjectDB 1 Explorer have not been implemented yet in the new Explorer of ObjectDB 2. The new Explorer of ObjectDB 2 is currently a viewer rather than editor, and database files are always opened in read only mode. The ability to create new database objects and edit existing database object has to be reimplemented in the ObjectDB 2.... the old Explorer of ObjectDB 1. It has been temporarily removed due to incompatibility with the new ObjectDB 2 code base. ...

 
manual

Numbers in JPQL and Criteria Queries

Shows how numbers, arithmetic expressions and numeric functions and operators (MOD, ABS) can be used in JPQL queries. Numeric values may appear in JPQL queries in many forms: as  numeric literals - e.g. 123 , -12.5 . as parameters - when numeric values are assigned as arguments. as  path expressions ...

 
forum_thread

Stacktrace in Explorer when running query

Hello, whenever I run a query in Explorer I get the following stacktrace (cf. attached file). My environment is: macOS Sierra 10.12.1 with java version "1.8.0_112" Is there anything I can do to fix this? Many thanks in advance Alex #1 2016-12-05 13:54 Hello, whenever I run a query in Explorer I get the following stacktrace (cf. attached file). My ...

 
api-jpa

where(restrictions)

Modify the subquery to restrict the result according to the conjunction of the specified restriction predicates.(Method of javax.persistence.criteria.Subquery)

 
forum_thread

The project does not contain a persistence unit

How do I fix this error/warning that Netbeans gives me?   #1 2014-02-28 17:40 How do I fix this error/warning that Netbeans gives me?   ...

 
forum_thread

LEFT (OUTER) JOIN problem when mappedBy is defined

Hi all, I want to get objects with their lists, even when the lists are empty. So I've witten this query: "SELECT i FROM Invoice i LEFT OUTER JOIN i.itemList items" But this query never returns invoices without items! Only invoices with items. When I remove mappedBy from @OneToMany annotation, LEFT JOIN works correctly. Is this normal behaviour? Thank you Michael   Sample application #1 2011-07-01 07:48 Hi all, I want to get objects with their lists, even when the lists are empty. So I've witten this qu ...

 
forum_thread

JDO PersistenceCapable Interface for Enhanced Classes

Hallo,   in old JDO 1.0 project we use the PersistenceCapable interface like this     Model model = new Model();     Model datas List models = new ArrayList();     models.add((PersistenceCapable) model); the interface was enhanced to the class. #1 2015-12-06 01:15 Hallo,   in old JDO 1.0 project we use the PersistenceCapable interface like this ...

 
forum_thread

_PersistenceException: Type is not found on getSingleResult.

Greetings. I'm new to ObjectDB. I'm using an ObjectDB local database for a Java SE standalone application and i'm having issues querying for an object of this entity: #1 2013-06-07 16:36 Greetings. I'm new to ObjectDB. I'm using an ObjectDB local database for a Java SE standalone app ...

 
forum_thread

Cannot find objectdb-jee.jar releases in the ObjectDB maven repository

Hi, I can only find objectdb.jar releases in the ObjectDB maven repository. If objectdb-jee.jar releases are there, can you let me know where they are, otherwise would it be possible to include objectdb-jee.jar in the current and future maven releases ? Thanks Andrew   #1 2013-09-08 09:23 Hi, I can only find objectdb.jar releases in the ObjectDB maven repository. If objectdb-jee.jar releases ...