ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh
40

Best practice: Database update/migration of embedded databases in products

: There are three versions of a product (v1.0; v1.1, v2.0). In each version, the entities have been modified ... is now held otherwise. The product store user data in the ObjectDB-Database. Example: V1.0: EntityPerson ... with the Product in Version 1.1 or 2.0 with the new “EntityPerson” Class and without data loss
40

Setting temp directory location in ObjectDB

.class.getClassLoader()); I read in the ObjectDB website that we can change the temp directory using ... (); hits it creates a .$fileName.obd$ file in the same directory where fileName.odb is located. But i want to set the tempority folder location so that $fileName.obd$ will be created in some different
40

Strange behaviour with ORDER BY and IN

it should be (and usually is, except in this special combination-case). Ordering seems to be ignored if we order ... with a simple IN-clause. Filtering with IN-clause or ordering on another member (which is not ... ("Locations without selection criterion in descending order (by id): ");         em.createQuery("select l
40

Is 2 level cache in use?

Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: 1. objectdb.conf with cache size is placed in WEB-INF directory of my web application. 2. persistence.xml ... ="ALL"/> </properties> But after few benchmarks I don't really see any difference in
40

Visibility of changes in Transaction is not visible to a JPA QL Query

();   } catch The problem is that the items that I add in the transaction are not visible when I ... , and the persistence.xml is located where it is used in the EJB project ( this was the only way I ... on Windows Server 2008 SP2 32bit. I have not added any objectdb jars in any other location apart from the EAR
40

Path in tomcat

Hi, If I put the .jar into /opt/Tomcat/lib/, then where the .conf should be in? And the .odb ... /, then where the .conf should be in? And the .odb? See explanations about ObjectDB home and configuration path in the manual. Notice that the database file can be at any absolute path that you specify. support
8

Memory leak in com.objectdb.o.CST

allocated in thousands of com.objectdb.o.CST instances as shown in screenshot. I wonder ... . It is only 1 instance of EMF as seen in the better view I uploaded in this reply. So the question ... If there is connection pooling, will it be normal that these instances are in memory even if entity
8

GROUP BY and HAVING clauses

clause in the query execution order is after the FROM and WHERE clauses, but before the SELECT clause. When a GROUP BY clause exists in a JPQL query, database objects (or tuples of database objects ... over all the Country objects in the database. The GROUP BY clause groups these Country objects by
8

new objects not available in mappedBy associations

> employees; creating a new mapped class, e.g. new Employee, won't result in this object being available in ... This seems to be the normal behavior - according to JPA the application has to update both sides in order to have a synchronized bi-directional relationship. In practice, however, the mapped side will be updated
8

java 8 LocalDateTime is not working in query

able to query without datetime field in where clause, but with datetime in where clause doesn't ... here, it is not quite working: In JPA you can use the @Convert annotation in order to translate a value ... single top level class example (in this form), which shows how you can use Java 8 date/time using

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