ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh
31

Cannot sort descending, when ordering by caluculated float in a method

Hi, I have found an issue in ordering by a method. I have two entities : Invoice and InvoiceItem ... ...) select i from Invoice i order by i.getPrice() desc/asc it gives the same order for desc and asc ... = em.createQuery(             "SELECT i FROM Invoice i ORDER BY i.getPrice() DESC");         List
31

persistence.xml classes not respected by ObjectDB

of times. The lucky part is that I have the old DB on my development machine. By adding class by class ... class by class, as development went by. Providing an example is a little bit more problematic ... loading unspecified classes. If there is a bug and it could be demonstrated by a sample application
31

Multi threading on DMOs by lazy loading

It is possible to use lazy loading on fields of attached entities by several threads? Example ... the identical instance of EntityZ. Thread1 access fieldX by lazy loading. Thread2 access fieldY by lazy loading. Thread3 access list by lazy loading. Does the multi threading access on different fields work
31

Connection is closed Caused by: java.io.EOFException

test case I use will pass most of the time but will fail after an undetermined period. Caused by ... ) ... 39 more Caused by: java.io.EOFException at com.objectdb.o.NTS.z(NTS.java:317 ... ();         }     } } Please check if your application might create EntityManager instances without closing them. By the way
31

How to disable use of graphic windows by objectDB

.main(Server.java:66) Caused by: java.net.UnknownHostException: GhostRider: Name or service not known ... .run(Server.java:107) at com.objectdb.Server.main(Server.java:66) Caused by: java.net ... (Server.java:66) Caused by: java.net.UnknownHostException: GhostRider: Name or service not known at java
31

Update is ignored by ObjectDB

following direct modification of fields is supported by ObjectDB if any of the following conditions applies ... practice (and actually required by JPA but not enforced by ObjectDB) to avoid accessing persistent ... should be used (e.g. by using the get and set methods). If you follow this practice only user defined
31

order by string with numbers

The sql that works is ORDER BY CAST(SUBSTR(username FROM 4) AS UNSIGNED) ASC Using JPQL SELECT u FROM Users u ORDER BY SUBSTRING(u.username,4)*1 ASC If you have other alternative for JPA ... It seems that this is not supported by JPA criteria queries. If you need a solution only for ObjectDB (but a solution
31

how to query by properties of onetomany relations? (Error 990)

)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_23 (on Windows 7 6.1). Please report this error ... Ernst Sorry about the error message - it should be replaced by a more descriptive error message in ... using standard JPQL by setting the following query hint: em.setProperty("objectdb.query-language
6

Bulk load of eager mapped by (inverse) relationships

When a collection of objects is retrieved by ObjectDB (e.g. by a query) ordinary referenced objects ... . However, inverse (mapped by) references that have to be loaded eagerly currently do not participate ... a separate client-server round trip. Future versions of ObjectDB should load eager mapped by (inverse
6

Lazy loading of mapped by (inverse) singular references

ObjectDB ignores lazy setting of non collection mapped by (inverse) fields and loads them always eagerly. This is allowed by JPA since lazy is only hint but it is not efficient. The reason ... , so it is always available. For mapped by (inverse) reference fields no information is stored in the entity

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