About in

141-150 of 200Refresh
Forum
7

Items in list are doubled, when the entity class is not enhanced

the first line in main 2. add a String field into Customer with getters and setters. (the field name in ... fast as the previous bugs? Thank you Michael Your program (in #1) demonstrates a very strange ... - but cascaded to Item. Merging Item results in a new copy of the Item instance that becomes managed
Forum
7

Query in JPA2 with LEFT JOIN on INNER JOIN

How write a query in JPA2 with LEFT JOIN on INNER JOIN? select a.description, a.id, p1 ... =?;   Thanks   The syntax of using JOIN in explained on this manual page. Using ON in a JOIN close is invalid in JPQL. Instead of ON you may  include all the variables in the FROM clause: FROM action
Forum
7

Server vs embedded mode in multi-instance scenario

that allows using a combined embedded-server mode, in which the database is accessed in embedded mode by ... " /> ... Now you should be able to open the same database in "embedded mode" by several processes. The first one will use the database in real embedded mode and will start a private server
Forum
7

Should I be able to persist a JFrame (or gui components in general)?

result was working persistence as seen in explorer. But (mostly for those who might encounter the same ... #. I can see how LINQ tries to solve the problem by preserving the status quo, in that a database ... like this a lot so far. However, in writing the Contact class, I realized I was still mapping
Forum
7

@ElementCollection query returning extra result per element in collection

Hi,   I'm having a hard time narrowing down an issue that only became apparent with in the UI ... '. The entity returned is repeated for every element in the collection. Switching back to EclipseLink ... , and extra entity is returned.  Any help is appreciated!   ObjectDB Version: 2.2.8_06   It seems as a bug in
Forum
7

Database is locked when in use

the odb files in the file system but the same i was able to do it in object db 1.0. We supprt export functionality and if i am not allowed to copy it in objectdb 2.x, then its a problem for us :-( Do you have any settings or other way to handle this? Using copy & paste to clone a database when it is in
Forum
7

Duplicate Entity class names causes Exception in Query

I have two Entities which have the same class name but reside in different packages, only one of them is mentioned in the persistence.xml. I a NamedQuery I use the unqualified class name ... for two different entity classes is not allowed in JPA. See the Entity Class Names section in
Forum
7

How the sort order (in queries) works for non english letters?

We are considering using ObjectDB in  project where target audience are czech speaking people ... the ordinal Java String lexicographical order, which is based on the order of the characters in Unicode. In Unicode, ordinary English letters are located separated from other language letters
Forum
7

How to change properties in urls2.xml?

Hello, I am using objectdb in an embedded case with network private access to each database. I ... are still randomly updated each time i am restarting tomcat :( Xirt The solution in #2 is for hiding sensitive information, in case you have a problem with the urls2.xml file. Information is written to that file
Forum
7

How to convert a boolean to an int in the query?

How to convert a boolean to an int in the query? I have five parameters of type boolean in ... , approvePhoneNumber, .... because the parameters equivalent. I want to sort them in the query by their sum ... them. You can calculate it in a JPA lifecycle event. Currently you cannot convert boolean to int in queries