ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh

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 my case is text) 3. before em.merge(c); add this line: c.setText(""); Please, can someone fix this as fast as the previous bugs? Thank you Michael anaq x Your program (in #1) demonstrates

Redeployment in GlassFish - Failed to open file

Hi. I am facing a problem with the redeployment of the application in GlassFish. I can deploy my application in GlassFish for the first time and it works. Once I need to redeploy it after making some changes in the source codes, the following errors come up in the GlassFish Log

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 ... a database when it is in active use is unsafe. With ObjectDB 2.x you should use online backup

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 ... entity name for two different entity classes is not allowed in JPA. See the Entity Class Names section

How to change properties in urls2.xml?

Hello, I am using objectdb in an embedded case with network private access to each database. I ... 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 just to enable opening recent connections easily in

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

@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 ... is returned. Any help is appreciated! ObjectDB Version: 2.2.8_06 Willks William It seems as a bug in

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

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 ... in Unicode. In Unicode, ordinary English letters are located separated from other language letters. You can change this behavior by normalizing your strings. You should store your strings in

List of Enum Values in an entity

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support