About refresh

forum_thread

Some details about db behavior

Suppose I have two entities... A B -> A B has a ManyToOne relationship with A. When my database is empty and I persist a valid B entity (that contains actual A reference) I observe some behaviour that I'm not sure I understand. #1 2014-06-26 15:16 Suppose I have two entities... A B -> A B has a ManyToOne relationship with A. ...

 
release

2.3.4

... with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added support for using ...

 
forum_thread

javax.persistence.PersistenceException

Hi I am trying to get a basic EclipseRCP project working with Objectdb. At the very first line in creating a View public void createPartControl(Composite parent) { EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb/db/pilots.odb"); I get the following "javax.persistence.PersistenceException: No Persistence provider for EntityManager named pilots.odb at javax.persistence.Persistence.createEntityManagerFactory(Unknown Source)....." #1 2011-06-19 07:32 Hi I am trying to get a basic EclipseRCP project working with Objectdb. At the very first line in creatin ...

 
forum_thread

How to delete M2M relationship?

In user model class I have the following: public class User implements Serializable { ... are loaded again from the database (you can use clear or refresh to enforce update). ObjectDB Support ...

 
release

2.3.3

... with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added support for using ...

 
forum_thread

Query perfromance problem

Hi, I was playing with paging and sorting recently and after trying few different aproaches got some strange behavior from ODB. First of all, I will show you results from page rendering times, but trust me - when debugging application, getting data from ODB takes a long time in one case. Anyway, one of my methods in DAO looks like this: #1 2011-03-11 11:59 Hi, I was playing with paging and sorting recently and after trying few different aproaches got some stra ...

 
forum_thread

Failing to read entities under load in multithreaded tests

Hi, We are experiencing an issue in our application that only occurs under load - we sometimes fail to read entities from the database. ... OneToOne ( cascade = CascadeType . REFRESH , fetch = FetchType . EAGER ) private ...

 
forum_thread

mappedBy problem

If I put the mappedBy element to the @OneToMany, the owned side (the many side) will never persist ! for example @Entity public class Employee { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) public Long id; public String name; @OneToMany(targetEntity=Address.class,mappedBy="employee") public List<Address> addresses; }   @Entity #1 2010-06-12 18:03 If I put the mappedBy element to the @OneToMany, the owned side (the many side) will never persist ! for exa ...

 
release

2.5.6

... 2.4.7 Fixed bugs in cascading merge and refresh. Fixed an internal  java.lang.ArrayStoreException ... with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added support for using ...

 
release

2.3.5

... with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added support for using ...