About ORDER BY

forum_thread

TemporalType injection with Calendar using JPA

I have ObjectDB  JPA  comsummed by a RESTful web service deployed on Tomcat. I am using an embedded object as a primary key, which has time fields which I have annotated with TemporalType.TIMESTAMP When I use a java.util.Date as a field on this object there is no problem. However, if I use a java.util.Calendar it encounters an exception.   Calendar is what I need.  Is there something obvious here that I am failing to see?   ... I have ObjectDB  JPA  comsummed by a RESTful web service deployed on Tomcat. I am using an embedded ... java.lang.Thread.run(Thread.java:619) Caused by: com.objectdb.o.UserException: Unexpected argument ... 43 more Caused by: com.objectdb.o.InternalException at com.objectdb.o.VUT.e(VUT.java:220) at ...

 
forum_thread

License Activation Change and Checking Activation

Hello! How does ObjectDB determine the machine ID? Yesterday I activated our license on my development laptop and today I tried to persist more than 1M objects. ObjectDB told me that it cant't do that because of the evaluation restrictions. Now I activated it again on the same machine and got a different activation code. With this code it works. The only difference I can think of is that my WiFi was disabled yesterday and today it's not. ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

@AttributeOverrides , and postgresql + own TYPE

Hello,  first of all i want to thank for this is site. I'm begginer in Java and also in JPA and this site is very helpful for me. Now What is my problem. Unfortunately  i have to work with postgresql + JPA + eclipselink, because is my school project. Database is final and i can't do any changes even if i wanted to. In structure of DB  is this. -- -- Name: address; Type: TYPE; Schema: artio; Owner: facman --   ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

How to use JOIN FETCH?

The ObjectDB manual (http://www.objectdb.com/java/jpa/query/jpql/from) gives an example of using JOIN FETCH to avoid excessive round trips to the database: ... is normal for JOIN FETCH and you can remove duplication by using SELECT DISTINCT . ObjectDB Support ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
issue

[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList

Hello, the following exception appears when we execute a query:   ... 2.6.0_04] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.7.0_71 (on Windows 7 6.1). Please report ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
issue

InternalException

  ... 2.4.2] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.6.0_25 (on Linux 2.6.32.12). Please report this ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

Objectdb server out of heap space

I have had a server crash with the following stack trace: ... needs. You may also try restarting the server in this case by setting a cron task that starts / restarts the ObjectDB server once in a ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

GlassFish 3.1.2.2/JBoss 7.1.1

Good day, We have few troubles with GlassFish on @remote. When we wants to get entity from remote interface, but in the result we have null in all entity fields. As I see there is a GlassFish problem (http://www.java.net/forum/topic/glassfish/glassfish/cant-return-entity-ejbs-remote-ejb). May be you have some ideas?  When we just try JBoss 7.1.1 nothing works at all. When I get a real world objectdb deployment example?    Thanks.  ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Error: Failed to write value of field X using reflection (oneToMany relation)

Hi there! I have been all day trying to solve this. I have read multiple sites and documentation, but I can go through this. I have a clase named Pedido, that have a reference ManyToOne to a clase Cliente. ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Doctor - high memory usage

Hi, Is it possible to reduce Doctor memory usage? Right now for recovering 67MB database, I need to set heap space to at least 450MB. Even then whole process takes ages. Optimal setting for this database is about 650MB. It's about ten times of size of database. ... (integrity check can be done on a backup copy generated by the online backup) - I think it is not an issue of high priority. ... 2.1.1_04] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_22 (on Linux 2.6.32-5-amd64). Please ...