About value

release

2.1.0

Release date: 2011-02-23 Download (3.89 MB) Binary:  objectdb-2.1.0.zip You should start by following a  tutorial or reading the manual ...

 
tutorial

Step 5: Add a JSP Page

Explains how to add a JSP page that uses JPA to a NetBeans Web Application.... /> <input type = "submit" value = "Add" /> </form >   ...

 
forum_thread

significant performance decrease

we are using objected in embedded mode (on OS X and WINDOWS). The database increased now to around 400000 entities of one class (database file size around 1.5 GByte). The response time of standard queries increased with this database size to an unacceptable rate (several seconds compared to around 30% when the number of entities was just half of the current). We tried to optimize the cache settings, current objectdb.conf is: <!-- ObjectDB Configuration --> <objectdb> #1 2016-03-15 14:57 we are using objected in embedded mode (on OS X and WINDOWS). The database increased now to around 400000 entitie ...

 
api-jpa

ManyToOne.cascade

(Optional) The operations that must be cascaded to the target of the association.(Annotation Element of javax.persistence.ManyToOne)

 
api-jpa

TableGenerator.schema

(Optional) The schema of the table.(Annotation Element of javax.persistence.TableGenerator)

 
api-jpa

greaterThan(x, y)

Create a predicate for testing whether the first argument is greater than the second.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

OneToMany.orphanRemoval

(Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities.(Annotation Element of javax.persistence.OneToMany)

 
forum_thread

UPDATE query to set a new field after schema change

I've added a new property/field to one of my objects and want to set the value of this (boolean) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated. I then save the changes to the DB via file->save. But when I execute a select on the DB I see that the field is still "null" for all instances. How do I initialize the field? ... property/field to one of my objects and want to set the value of this (boolean) property to false for all existing entities in the DB. ...

 
forum_thread

Project runs in Eclipse but not when exported to runnable jar

I have a simple project that performs some stability calculations and displays a scale drawing of a model glider. I decided to use objectdb as a way to persist the values for later retrieval. The project works perfectly well when run from eclipse but nothing opens when I export to a runnable jar and execute that. No windows open, there are no eror dialogs etc. Commenting out all the code related to object db resolves the issue and the project runs, so I'm fairly sure it is something I've done relating to objectdb. #1 2011-08-15 06:37 I have a simple project that performs some stability calculations and displays a scale drawing of a model glider. ...

 
api-jpa

javax.persistence.metamodel.CollectionAttribute

Instances of the type CollectionAttribute represent persistent java.util.Collection-valued attributes.(Interface of JPA)