About clear

forum_thread

List always null

I have the following classes: @Entity public class Noticia implements Serializable {     private static final long serialVersionUID = 1L;     @Id     @GeneratedValue(strategy = GenerationType.AUTO)     private Long id;     @ManyToOne(targetEntity = Categoria.class)     private List<Categoria> categorias;   #1 2014-06-15 17:17 I have the following classes: @ Entity public class Noticia implements Serializable ...

 
forum_thread

Iterating over large result set

Hi, Few days ago I was writing some code to iterate over quite a large dataset. Fitting those data in memory was quite a challenge even with 3GB heap space. So I did paging using two loops. ... // work with fetched data } em. clear ( ) ; } I'll be using this with ...

 
issue

Problem with JOIN and inheritance

Hello, Please run this query on the attached DB: SELECT DISTINCT $1 FROM com.quasado.serviceplaza.customer.VendorCustomer $1 JOIN $1.qubletFRAGMENTMAP $2, com.quasado.foundation.warehouse.contract.customer.CustomerContractsFragment $3 WHERE ((NOT (($2=$3) AND ($3.contracts IS EMPTY)))) The problem is quite easy: The "VendorCustomer" class inherits from the "Customer" class. Bug Version: 2.3.7 Priority: Normal Status: Closed Replies: 1 Type:  Bug ...

 
forum_thread

Clarification on free license restrictions

Hello,   My apologies if the answer is already on the website, but I’m struggling to find a definitive answer.  The 10 entity class restriction is very clear, but can each of these classes use unrestricted numbers of embeddable classes?  Do embeddable classes count as part of the ten?  I assume not, but I need to check before I code further (and learn more about the product).   ... answer.  The 10 entity class restriction is very clear, but can each of these classes use unrestricted numbers of embeddable ...

 
forum_thread

Is ObjectDB the only object database that supports JPA?

Other Object database does'nt support JPA?   ... Thanks for ur help. Please clear my doubt I know JPA is just a Specification and ORM Frameworks ...

 
forum_thread

How prevent post-compile enhancement of non entity classes

I have recently moved to post-compile enhancement (from automatic run-time enhancement) using an Ant build.xml for a NetBeans web app. My adapted build.xml works for both full project build and per-file compilation (with NetBeans "compile on save" off), but it is not yet perfect at only invoking the enhancer on entity files. For full project build the following works, by grouping entities under clearly named packages: #1 2014-09-14 01:02 I have recently moved to post-compile enhancement (from automatic run-time enhancement) using an Ant build.xml fo ...

 
api-jpa

clearCachedProviders()

Clear cache of providers.(Method of javax.persistence.spi.PersistenceProviderResolver)

 
forum_thread

RT Java application recording into 100DB run OOM after a few hours.

Hi, I am running a java application that records data from 100 feeds into 100 different database - this is done is one thread. It works fine several hours - and suddenly i got an out of memory issue (I checked there is no leak in java - I cleared the entity manager every 10 new entity). 1/ I use the default objectDb.conf (i mean i dont use any - so it must be using the default somewhere). 2/ Using Netbeans, I profiled the application and I noticed that there is one thread (ODB FileWriter) running for each open DB. #1 2015-01-02 20:11 Hi, I am running a java application that records data from 100 feeds into 100 different database - this i ...

 
forum_thread

selecting objects that have a particular key/value in persistant HashMap

Hi, First post here and exploring ObjectDB.  I have an class Person which has a HashMap<String, String> called 'pMap' as a persistable field.  I am able to create Person objects and persist them as expected. #1 2013-11-02 00:40 Hi, First post here and exploring ObjectDB.  I have an class Person which has a HashMap<String, S ...

 
forum_thread

Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance

Hi,   I don't have a useful test case to expose this issue, but I am getting an intermittent "Attempt to reuse an existing primary key value". In this particular instance, the error is: #1 2011-07-18 11:23 Hi,   I don't have a useful test case to expose this issue, but I am getting an intermittent "At ...