About performance

forum_thread

Garbage Free Persistence?

Hi, I am trying to make my application garbage free. I noticed ObjectDB is not garbage free - I noticed that by persisting the same object 1mio times - and I can see the java garbage collector kicking and the usedHeap increasing. Is there a way to persist entities in a garbage free manner? Thanks EKK ... are fast and object reusing doesn't usually improve performance. If you can show clear benefits in moving of ObjectDB to garbage ...

 
tutorial

Step 4: Add a Servlet Class

Explains how to add a servlet that manages persistence using JPA and ObjectDB to a NetBeans Web Application. In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New > Servlet ... Enter ...

 
forum_thread

Multitenancy with discriminator

Hello, I have a very large business application that makes use of the Hibernate "Filters" feature and of the EclipseLink "Single Table Multitenancy with discriminator" feature in order to implement entities filtering based on a discriminator. Here is an example of one of my business objects: public class BusinessPartner {     protected String id;     protected Domain domain;     ... } #1 2015-02-19 09:32 Hello, I have a very large business application that makes use of the Hibernate "Filters" feature and ...

 
issue

ArrayIndexOutOfBoundsException on flush

The following exception was thrown when my app attempted to flush an objectdb database: Bug Version: 1.04 Priority: Normal Status: Closed Replies: 11 Type:  Bug ...

 
forum_thread

Storing Images

What is the best way to store images? As external files? In the database as blobs? Are blobs supported?... (e.g. backup). Using external files might improve performance for very large files (e.g. video files). ...

 
forum_thread

Spring Transactions (@Transactional) within ObjectDB

Hi, We are using OBD with Spring and transactions are managed by Spring. Our spring service interfaces take list of objects and persist them and the interface service is marked as @Transactional. We iterate through the list apply business validations and persist them one by one in a loop. ( Using Spring Data) We have noticed that in a loop 1st object is persisted and then we if lookup the same object we don't get it back on lookup. #1 2013-08-26 07:54 Hi, We are using OBD with Spring and transactions are managed by Spring. Our spring service interfaces ta ...

 
tutorial

Step 4: Add a Servlet Class

Explains how to define an EJB session bean in an Eclipse Java EE 6 web application. In this step we will add a servlet to manage guestbook web requests: Open the [Create Servlet] dialog box by right clicking the guest package node (in the [Package Explorer] window), selecting  New > Other... > Web > Servlet and clic ...

 
tutorial

Step 4: Add a Servlet Class

Explains how to define an EJB session bean in a NetBeans Java EE 6 web application. In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New > Servlet ... En ...

 
forum_thread

collection of embedded objects

1. In general, are there any restrictions of the use of @Embedded objects in collections, compared to @Entity? 2. If you have a large nested collection of @Embedded objects, and you remove the parent @Entity, does the remove cascade through the whole collection? 3. Is searching through collections of @Embedded objects more expensive (time) than searching through collections of @Entity? ... objects they are mainly used to save space and improve performance. In many cases queries will run faster when using embedded objects, ...

 
issue

Removing of an entity removes also another entity type

Hello, we have following case: ToleranceDefinition and ResolverMapping are entities and have not any relations each other. Before start transaction the ToleranceDefinition entities exist already in the database. Bug Version: Priority: Normal Status: Active Replies: 6 Type:  Bug ...