ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh
8

Exceeding max connections and crashing

are created but not closed. It may also be the result of limited heap size and out of memory errors. Try ... hype size to 6GB and since that we haven’t have any crashes of JBOSS. Important to note is that JBOSS is not on the same server as ObjectDB. After we increased heap size and number of connections 2 days
8

Like fails if both underscore and percent are used

StringHolder("foobar"); assertEquals(0, getAll().size()); //DB is empty em.getTransaction ... , getAll().size()); //Save was successful final String queryString = "SELECT holder FROM ... = query.getResultList(); assertEquals(1, results.size()); } private List
8

Query performance in general

- maybe you can clarify some of them: Database file page size: the default is 2kb ... better with bigger page sizes (e.g. if an Entity has 'a lot' of member fields)? Order in WHERE clause ... your questions: The page size may have some effect, but probably minor, so this is probably not the cause
8

ObjectDB is opening too many sockets

the size of the connection pool (the default in ObjectDB is currently 50), by using the JDO method setMaxPool. support Support Sorry, I did not get that You can limit the size of the connection pool ... pool size when you initialize the EntityManagerFactory:     Map<String, String> properties = new
8

Externalising persistence.xml properties in Glassfish?

the start up script. This is the same place where heap size ect gets set. My other option ... -classname="org.postgresql.ds.PGSimpleDataSource" max-pool-size="20" res-type="javax.sql.DataSource" steady-pool-size="10" description="" name="pgsqlPool"> <property name="User" value="inv_usr
8

Object as parameter results in exception

.size() > 0){    return resultList.get(0);   }   return null; } The error I get is: Caused by ... ().createQuery(c);   List<T> resultList = q.getResultList();   if(resultList.size() > 0){    return ... (companyParam, company);     List<T> resultList = q.getResultList();   if(resultList.size() > 0
8

in-memory and on-disk support?

. Given I have a fixed DB size(800GB) with the need to purge oldest records as new ones come in would it be more optimal to set the <size> element as follows: <size initial="800000mb" resize="0kb
8

Caching/Paging Questions...

size of ObjectDB L2 cache or EntityManager context ? Q4: Would paging result sets ... references. The size of the L1 cache is automatic. There is no limit on the maximum size of the L2 cache
6

Issue with orphanRemoval and multiple EntityManagers

Hi, We have a problem where our database size grows over time more than expected. We've traced it down to the following issue: I have some entities that are using OneToMany relationship ... ("Number of addresses: "+res3.size());         em.close();         emf.close
1

Out of Memory - Slow leak?

"/> The objectdb server process runs with -Xmx1g and the "consumer" runs with -Xmx2g. Message size is approx 1k ... (page cache size, query cache size) for the metadata server and the data server. support Support

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