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

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

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

Annotations not supported in -source1.3 (use -source 5 or higher ..)

to build the points example from Maven, but on opening it in Netbeans 6.9.1 I got an error in Points.java and other files: Annotations not supported in -source1.3 (use -source 5 or higher ..) Generics not supported in -source1.3 (use -source 5 or higher ..) (Note that the version of Java I ran Maven as

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

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

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

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


Let's say I no longer need some entity in my project and after deleting all the objects of this type in database I want to remove this type from schema. How can I do this? Is there something like SQL 'drop table' in ODB? lwalkowski Lukasz Walkowski This is currently not supported. As far as I

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