Home » Search

About in

131-140 of 200Refresh
Forum
8

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
8

java 8 LocalDateTime is not working in query

able to query without datetime field in where clause, but with datetime in where clause doesn't ... to sound rude, but if you want to play the JPA compatibility card here, it is not quite working: In JPA you can use the @Convert annotation in order to translate a value, which is at least a workaround
Forum
8

@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
8

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
8

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
8

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
8

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
8

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
Forum
8

JPQL IN Operator

How can I use the standard JPQL IN operator with ObjectDB? This JPQL query works fine with EclipseLink / postgres but throws an exception in objectDB: select distinct dv.creationtime from DataValue dv where dv.capabilityId.capabilityId ==> in <== :capabilities and dv.creationtime
Forum
8

List of Enum Values in an entity

Hello, I'm new with ObjectDB and just tried out the example in the Eclipse/Glassfish tutorial (http ... the database without any problem. In the explorer I can see that it is stored as array of Strings ... is enhanced, you may see a null value in the debugger before accessing the field, but when the field