About SECOND

issue

Eager load Map

I'm having an issue eager loading a nested map. I've attached @ManyToMany(fetch=FetchType.EAGER) attributes to no avail. If the map is viewed in the debugger or force iterated in the code it loads ok. The attached code attempts to replicate the scenario. Its not an exact match but is the best I could come up with without replicating the whole system. The test creates an object, persists it to a db and re-loads it. The EntityManager is closed before accesing any fields. Finally the nested map is accessed and printed to screen. ... map is loaded and its contents are printed. On the second run (without deleting or clearing the database) the map is empty. ...

 
forum_thread

Online backup with JDO

Hi, I would like to try the Online Backup tool as I am making backups up to now with the not encouraged file-copying method while the database is online. So my first question is to this file-copying. I've read at the Database Doctor that copying the db file while it is online may cause corrupted DB file. Does this mean that the copy can be corrupted or even the source file ? My second question is about starting the online backup. The manual suggests starting it via the EntityManager with the code ... copy can be corrupted or even the source file ? My second question is about starting the online backup. The manual suggests ...

 
forum_thread

Add class to objectdb ?

Hello , i've made blank db project and opened with explorer.jar How can i add class file then push objects manually by explorer.jar   It only gave me blank : http://img543.imageshack.us/img543/7463/screenshot20130203at001.png       ... Here is second screenshot: ...

 
forum_thread

Exceeding max connections and crashing

Hi, we have severe problems with ObjectDB crashing frequently. We can’t find the exact cause but we suspect several things. We use 2.5.3_03 version and we use it in production. The same setup in test environment hasn’t have these kind of problems First crash occurred when network went down and database lost connection with the JBOSS AS, several restarts got it up and running finally.  It seems when the database loses network connection it shutdowns but we cant be sure. Usualy database stops once a day with no apperent reason. ... database stops once a day with no apperent reason. Second cause we suspect is the number of network connections to the database, ...

 
forum_thread

package not found running ObjectDB under OSGi

Hi I have created in Eclipse a new plugin from existing jar file and than I tried to enhance my classes (using Ehancer from that new bundle), however I got an error :  [ObjectDB 2.2.8_02] Package datamodel.core.base is not found by the enhancer (error 108) The Enhancer was run in the following way :  ... So what is wrong ?? Do you really use that second parameter ?? Don't you have a bug ??   Thanks ...

 
api-jpa

between(v, x, y)

Create a predicate for testing whether the first argument is between the second and third arguments in value.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

lessThanOrEqualTo(x, y)

Create a predicate for testing whether the first argument is less than or equal to the second.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jdo

msg(messageKey, arg1, arg2, arg3)

Message formatter(Method of javax.jdo.spi.I18NHelper)

 
api-jpa

setProperty(propertyName, value)

Set an entity manager property or hint.(Method of javax.persistence.EntityManager)

 
api-jdo

getConnectionFactory2Name()

Get the name for the second data store connection factory.(Method of javax.jdo.PersistenceManagerFactory)