About projection

forum_thread

Distinct Error

Hi, I'm getting a NullPointerException thrown on using DISTINCT. The query works fine if I don't have distinct. However thats NOT a solution as the code generating the query is used for other queries, and some of them do need the distinct. Its only a simple query: QUERY: SELECT DISTINCT $1 FROM CDI $1 JOIN $1.attributeList $2 WHERE ($2.name='firstname') AND ($2.valueAsString='Alex') #1 2011-07-21 01:32 Hi, I'm getting a NullPointerException thrown on using DISTINCT. The query works fine if I don't ...

 
forum_thread

Evaluation License

Hi, I'm an individual developer and my project has more then 10 persistable types. How can I get a free commercial license? (According to the post below, this might be possible).     Hi, This exception indicates an attempt to use more than 10 persistable types (e.g. entity classes) with no license key. As noted on the license page: #1 2012-07-11 14:42 Hi, I'm an individual developer and my project has more then 10 persistable types. How can I get a fr ...

 
page

Consulting and Training

Our consulting and training team will be happy to assist you with on-site or remote consulting and training services. Consulting Facing a migration project? Performance issues with your current persistence architecture / framework? ...

 
forum_thread

problems using the explorer

we are currently evaluating objectDB. Environment OSX 10.9.2, JavaSE-1.7 Version: Kepler Service Release 2 Build id: 20140224-0627 ObjectDB 2.5.5 Maven project, objectDB relevant sections: ... #1 2014-04-09 13:50 we are currently evaluating objectDB. Environment OSX 10.9.2, JavaSE-1.7 Version: Kep ...

 
forum_thread

Guestbook EE ear app please

Using Eclipse I have no problems running the Guestbook app as a web app on an EE 6 server. However, I would like to call the ejb from a remote client. I have tried various ways in creating different projects for ejb, web and client, with and without an ear, and bump into queer problems. Of course I have a remote (and local) interface, but I can't get anything to run unless I do EXACTLY one web project as in your tutorial. Can you please put together another tutorial illustrating remote client access along with web access. #1 2014-10-19 18:24 Using Eclipse I have no problems running the Guestbook app as a web app on an EE 6 server. However, I wou ...

 
forum_thread

Fetching Collections Puzzle

I am working on a project where I need to travel through a massive graph of objects. One of the main entity is the Node which is shown below. class Node { Node parent List<Node> children Node rightSibling Node leftSibling int rank } I have the following issues/doubts #1 2011-04-23 23:08 I am working on a project where I need to travel through a massive graph of objects. One of the main entity is th ...

 
tutorial

Step 2: Define a JPA Entity Class

Explains how to define a JPA entity class in a NetBeans Web Application. To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting New > Java Class ... Enter G ...

 
api-jpa

javax.persistence.MapKeyEnumerated

Specifies the enum type for a map key whose basic type is an enumerated type.(Annotation of JPA)

 
forum_thread

How prevent post-compile enhancement of non entity classes

I have recently moved to post-compile enhancement (from automatic run-time enhancement) using an Ant build.xml for a NetBeans web app. My adapted build.xml works for both full project build and per-file compilation (with NetBeans "compile on save" off), but it is not yet perfect at only invoking the enhancer on entity files. For full project build the following works, by grouping entities under clearly named packages: #1 2014-09-14 01:02 I have recently moved to post-compile enhancement (from automatic run-time enhancement) using an Ant build.xml fo ...

 
forum_thread

"No Persistence provider for EntityManager" in OSGI bundle.

Good Day. I seem to have gotten a bit stuck while developing an OSGI bundle with ObjectDB. Essentially it builds an OSGI bundle with an embedded instance of ObjectDB and then tries to deploy the bundle inside an application running an embedded OSGI server (Apache Felix). The STARTING phase seems to fail due to the below error. #1 2011-11-10 14:31 Good Day. I seem to have gotten a bit stuck while developing an OSGI bundle with ObjectDB. Essent ...