About like

forum_thread

NULL prefered in ORDER BY?

Hi! Is there a way to NOT prefer NULL in Order BY? I.e. assume this: @Entity class Hint { private String name; } @Entity class Test { private Hint hint; } I've got a few Test entries, some do have a hint assigned, some do not (NULL). Now when I do something like SELECT FROM Test ORDER BY hint.name ... hint assigned, some do not (NULL). Now when I do something like SELECT FROM Test ORDER BY hint . name It orders ASC like this (assuming I've got three Test Entities whereas first one points ...

 
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. ... 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 ... 6 app server, and have local web and remote access - just like that-. Thanks nat ...

 
forum_thread

multiple LEFT JOINs do not work as expected

Hi, We have a hierarchical data set of organisations in the database, where each organisation stores a reference to it parent organisation. I'm trying to find all organisations 2 levels under a root organisation, e.g. where organisation.parentOrg is the root or organisation.parentOrg.parentOrg is the root. The query also contains a number of other predicates and it is built dynamically using Criteria API. It could be looking for other number of levels, 2 is just an example. The test query looks like this: ... levels, 2 is just an example. The test query looks like this: SELECT DISTINCT $1 FROM Organisation $1 ... you  please advise if this query is supposed to work like that? I'm running 2.3.4_05 version. Kind Regards, ...

 
forum_thread

Finance data from SQL Server into ObjectDB daily

Hello -   I think ObjectDB might be just the solution for our current project but I would like some feedback from the community to see if I'm thinking about it right.   We have a finance data mart that is appended to daily via an SSIS package. I would like to pull the data from SQL, add it to a bean and store it in the ObjectDB. This would all happen in an automated fashion. Does this make sense? Is there a way to map the structure of the table directly into ObjectDB from SQL Server?   ... be just the solution for our current project but I would like some feedback from the community to see if I'm thinking about it ... that is appended to daily via an SSIS package. I would like to pull the data from SQL, add it to a bean and store it in the ObjectDB. ...

 
forum_thread

How to define Default Entity Listeners without persistence.xml and orm.xml

I am using JPA programaticaly..ie without xml file, and i would like to define Default Entity Listeners. How to do ? Here my init code: ... using JPA programaticaly..ie without xml file, and i would like to define Default Entity Listeners. How to do ? Here my ... and then using objectdb api ? I would like to do specifics actions when my objects are persisted, without using XML, ...

 
release

2.4.7

... object graphs. Fixed a bug in not using LIKE's ESCAPE when an index is used. Fixed a bug in ... it in the database. Fixed a bug in using LIKE in AND/OR in criteria queries . Fixed a bug in AND/OR ...

 
release

2.4.6

... object graphs. Fixed a bug in not using LIKE's ESCAPE when an index is used. Fixed a bug in ... it in the database. Fixed a bug in using LIKE in AND/OR in criteria queries . Fixed a bug in AND/OR ...

 
forum_thread

Updating Entities

Hello, I'm currently writing a program using JavaFX and ObjectDB and I'm encountering a problem with Entities not sending their updates to each other. I have two Entities in question at the moment: Employee and Paygrade. ... pursuing that further if absolutely necessary, but I'd like to inquire further on your statement regarding the UPDATE queries since ... those changes? If UPDATE queries don't seem like a valid solution then I'm still likely looking for suggestions. ...

 
forum_thread

Embedding ObjectDB on server application

I'm trying to integrate ObjectDB as part of a server software I am developing. I'm a little lost at the connection file path for the persistent factory. So if I want to pass in the database file path, with relative path, where exactly is it relative to? So I did a test and just wrote: EntityManagerFactory emf = Persistence.createEntityManagerFactory("test.odb"); But I got: Exception: javax.persistence.PersistenceException Message: No Persistence provider for EntityManager named test.odb ... 13:57 It looks like a classpath issue. Maybe objectdb.jar is available only in compilation and ... 15:59 It seems like I have a smiliar problem... I'm working with Eclipse and Maven. I ...

 
manual

[ODB1] Chapter 3 - Persistent Classes

Explains what a persistence capable class is and which types are supported by JDO.... the requirements described above, a persistent class is like any other Java class. It can include constructors, methods, fields, ... with persistent array fields (persistent fields of types like int[] or Object[] ). Any class in which a persistent array is ...