About not

forum_thread

ObjectDB Manual

Hello,I would like to be able to read or refer to the ObjectDb manual (v2) on my Kindle. Unfortunately, I didn't find any option to download the manual, either as a .pdf (most convenient)or as a zipped set of .html files (a single file would be better for an easier conversion to .pdf) Is there such an option I'm unaware of on your website or could you make the manual available for offline reading?Very best regards,Paul... 19:08 The issue is not PDF generation for JDO but rewriting the new ObjectDB manual, converting ...

 
forum_thread

Slow performance on Mac

- This code is tested on Windows and Mac. Windows is working great, Mac is very slow (read is 11 seconds on Mac, and 100 milliseconds on Windows). - Application is using Spring Boot console application (for JPA implementation) - MacOS Sierra 10.12.3, Core i7 CPU, 16GB RAM, SSD drive java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)   Running sample jar: ... it took multiple minutes. Although it's not ObjectDB's fault, I also traced the issue down to the ...

 
forum_thread

Object DB In memory : without Filestore

Hello, I raised this question earlier as well, we want to explore if I can run the ObjectDB completely in Memory ? (without any writes to Disk, it's okay to loose the data if the node is down ). I think that will give the best performance. The reason we are exploring is restoring state is possible for us through replaying the logs, however we want easier data structures which is really good with ObjectDB along with Concurrency controls and transaction mgmt. Let us know if it is possible to run the Object DB completely in memory without disk storage. ... As noted above, although ObjectDB does not support in memory mode, you can use a RAM drive. i.e. install a RAM drive ...

 
forum_thread

Attempt to store an instance of a non persistable type java.net.URL

ObjectDB 2.3.6_16: The following works in EclipseLink+MySQL and EclipseLink+Oracle: ... It is less portable since such data is not expected to be accessible by future versions of ObjectDB for .NET and for ...

 
forum_thread

How to delete M2M relationship?

In user model class I have the following: public class User implements Serializable { ... a set of time slots in one invocation (as in your code) is not supported by JPA. If Timeslot is the owner of the many-to-many ...

 
forum_thread

How to define Default Entity Listeners without persistence.xml and orm.xml

I am using JPA programaticaly..ie without xml file, and i would like to define Default Entity Listeners. How to do ? Here my init code: ... You may also register listener using the JDO API, which is not documented but supported by ObjectDB. ObjectDB ...

 
forum_thread

JPA query of a Set of terms

Hi, Is it possible to write a JPA query to select objects that contain a collection of elements? For example, suppose I have a table that maps a search terms to pages: @Entity public class SearchIndex { @Index SearchTerm term; @Index Page page; } Now suppose I have an array of SearchTerm objects. ie. ... ( "terms" , terms ) ; but it is not standard JPQL and it would be less efficient since indexes cannot be used. ...

 
forum_thread

Which storage fits best to ObjectDB?

Hi, we are just about to put together a new server for our applications using ObjectDB (v 2.6). We have a dilemma about the storage holding the ObjectDB files: if to invest in a mirrored RAID of SSDs which is clearly the ultimate solution but it quite pricey, or to choose a RAID5/6 of 7200 RPM HDDs. ... data more often, so the seek-time is the most crucial and not the transfer-rate) ? edit ...

 
forum_thread

PersistenceException UserException: Failed to validate persistence.xml

I'm really tired of looking at the same exception all day. I have DaoService which gets initialized when app starts. ... But path acts right way. Finally I've got it. I should not use any persistence.xml at all. When I do not use it, I got this error: HTTP Status 500 - ...

 
forum_thread

How to create a Unique constraint?

Hi, I'm trying to create a unique constraint. Here is a simple example: @Entity public class Account { @Id @GeneratedValue private long id; @Index(unique="true") private String name; } The code runs and my Account objects are persisted. But no exception is thrown if name is the same. What do I need to do to have a Unique constraint? Thanks, Carl   ... ( "true" ) is widely used in JDO annotations but it is not very pretty. Update: Starting ObjectDB 2.6.6 new indexes are ...