About size


WHERE clause (JPQL / Criteria API)

Explains how to use the WHERE clause in a JPQL query.... following query retrieves only countries with population size that exceeds a specified limit, which is represented by the parameter p ... query retrieves all the countries with population size that exceeds a specified limit and also have an official language from a ...


Unexpected exception (Error 990) on find

I have a huge amount of inserts/updates and after a about 850.000 Entities I got the following error: ... results show that the problem is indeed related to the size parameter. Unfortunately it would be very difficult to locate the ... the effort may not succeed. Please check if value size 256 is indeed the limit, i.e. what is the maximum size that does work. ...


Server connection management

The server does not appear to release broken connections. My typical development pattern is to keep reloading my war file in tomcat until the permgen space runs out, and then I kill and restart tomcat. After a few days of this, the server stops responding, and I see the following in the server logs: ... You should be able to set the connection pool size by a property in persistence.xml : <properties > ... EntityManagerFactory . Currently the default pool size is 50. ObjectDB Support ObjectDB - Fast ...


Problem witch CriteriaBuilder isMember(..)

Dear Objectdb-Team I have some Problems running a criteria query against a set. But maybe I misunderstood some essentials I have defined an entity class and an embeddable class like this ... against a list, wich has different members, but the same size.  List<Testclass> uid1_list = .. new Testclass ... list the size of 3   To avoid this behavior (of the criteria ...


out of memory error

we had a system crash on GC overhead limit reached, these are the last logs: ... a shortage in heap space). Increasing the JVM heap size could solve the problem, or alternatively, tuning ObjectDB configuration to use less heap size. If the exception is thrown in embedded mode you may wrap relevant ...


Criteria Query results in a NoResultException instead of returning object

When I run the following code    ... ( new Predicate [ predicates. size ( ) ] ) ) ;   return ... ( new Predicate [ predicates. size ( ) ] ) ) ;   ...


How to enhance the JPA/Spring/MVC to implement RESTfull for CURL client?

Here is my attempt to enhance the JPA/MVC/eclipse tutorial to implement a RESTful service. Why does this not work with this curl command? I get 404. Can someone help me correct this? Do I need to change my web.xml servlet mapping in web.xml? I've been experimenting with and nothing seems to work. Thanks Siegfried Here is my web.xml fragment: ... Status 406 - </h1>     <HR size="1" noshade="noshade"/>     <p> ... </p>     <HR size="1" noshade="noshade"/>     <h3>Apache ... Maximum file size: 32 MB 0 ...



Return the fetch size, or FETCH_SIZE_OPTIMAL if not set, or FETCH_SIZE_GREEDY to fetch all.(Method of javax.jdo.FetchPlan)



Set the fetch size for large result set support.(Method of javax.jdo.FetchPlan)


Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

Hi,  Object are not being persisted when ObjectDB and another db is used in the same application (through spring) with different tx managers, please find an example of this below. Any help is greatly appreciate as we are currently evaluating ObjectDB to use in our new enterprise application and we need to decide if we are going to purchase it very soon. Many Thanks   Persistence.xml ... ;   System. out . println ( t. size ( ) ) ; }   @ Transactional ... ;   System. out . println ( t. size ( ) ) ;   }   ...