About Date

manual

Database Explorer

Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually.... display cached content that does not reflect the up to date data in the database. In this case you can refresh the cache and the ...

 
page

Privacy Policy

What is this Privacy Policy for? This privacy policy is for this website www.objectdb.com and served by ObjectDB Software Ltd and governs the privacy of its users who choose to use it. The policy sets out the different areas where use ...

 
manual

JPA Primary Key

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.... java.lang.String. java.util.Date , java.sql.Date , java.sql.Time , java.sql.Timestamp. Any enum ...

 
forum_thread

Vacuum - Reclaiming Unused Space In Odb

I was curious if you could assist me with a challenge we are having with our objectdb database.  Our odb files are about 50Gb in size and are written to about a million times a day with both adds and updates.  This is creating a lot of unused space in the database that we are wanting to reclaim.  Other database vendors provide a vacuum process to allow dumping a database to a flat file (basically a sql dump) and reload.  Is there a capability in ObjectDb to provide a vacuum?  The online backup feature appears to copy the dead space as well so isn't performing... daily backup in case of a disaster (since it is more up to date). Maybe you can check the replicated database before running a ...

 
manual

Database Explorer

Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually.... display cached content that does not reflect the up to date data in the database. In this case you can refresh the cache and the ...

 
forum_thread

IDs of Entities suddenly became UUIDs?

Hi, We're having our system with ObjectDB 2.4.5 in production since this year April and it works just fine. However, now we've discovered that suddenly partial Objects in some DBs in production do have a UUID String as their id instead of Long which is of course causing a lot of troubles. Note that this even occurrs on the same "Table" -- some saved Entitities of same type do still have a Long ID, others a String UUID. Our Base-Entity everything inherits from is declared as usual with Long: ... Maybe quasado can provide up to date information about this problem. Possibly there was a schema change ...

 
forum_thread

Left join fetch behaviour doesn't retrieve children?

Hello support, I'm a little bit confused about a left join fetch behaviour. In this test case, i try to fetch my 3 children using a left join fetch. But my collection is null after closing the em. It was expected to be fetched before closing the em, no ? In fact, that is the objective of the fetch purpose (i guess ?). ... ( ) ;   Long start = new Date ( ) . getTime ( ) ;   ... ( ) ;   Long end = new Date ( ) . getTime ( ) ;   Long ...

 
page

Apache License, Version 2.0, January 2004

... this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution . You may reproduce and ...

 
forum_thread

Database Inconsistency or corruption

Hi, since a week I have been trying to find a solution to a strange problem. We are using ObjectDB 2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1-) Background Consider Three entities: ObjectValue, Attribute and Value. ObjectValue has a one to many relationship to Attribute and Attribute has a one to one relationship to Value. ... applied on the database, and after loading the up to date data from the database (e.g. by using refresh) both sides will reflect the ...

 
forum_thread

Is it possible to remove parent/child entities without refresh?

We have a big object tree in our project. If I use the entityManage.remove method a entityManager.refresh is necessary in order to have an updated object tree in memory. But entityManager.refresh is too slow for our project. Do you know a possibilty to remove parent/child entities without entityManager.refresh after the entityManager.remove operation? I have searched for a solution with the following unit test (See testRemoveVariant2()). But my approach works correctly. Do you have an idea? ... please explain in which way data in memory is not up to date after remove and how exactly  refresh solves it? ...