About performance

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 ...

 
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 ...

 
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). ...

 
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

ObjectDB vs DB4O comparison

ObjectDB and DB4O are the only two real object database I known. Why didn't you give a comparison between them in JPA Performance Benchmark (JPAB)?  TIA ... Why didn't you give a comparison between them in JPA Performance Benchmark (JPAB)?  TIA Institute ...

 
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, ...

 
forum_thread

odb file size doesn't shrink

Hello, why delete from ... doesnt modify size of odb? Even in in embedded mode, and in server mode i use recovery, not recording mode. ... database is not reduced, as it usually better, considering performance, to keep the free space for future extension. ...

 
forum_thread

Update is ignored by ObjectDB

Hi! Sorry for my bad english skills. When I execute fulfilOrder, only Order entity is updated in the database, and User entity remains modified only in code, even if I go: user = smdb.find(User.class, user.id); In this source highlighted lines modifying entity, but not the database. #1 2014-01-25 20:53 Hi! Sorry for my bad english skills. When I execute fulfilOrder, only Order entity is updated in the database, an ...

 
forum_thread

Password Protect Database File

Is there a way to encrypt the odb file so that if hackers somehow steal it they cannot access the data without some kind of password? I would imagine accessing the database from java could just have another connection parameter while accessing from explorer.jar/exe would need to prompt the user for a password for encrypted odb files. ... to encrypt the ObjectDB database file, then for maximum performance use an SSD hard drive with built in hardware encryption ability. If ...