About activation code

issue

Bulk load of eager mapped by (inverse) relationships

When a collection of objects is retrieved by ObjectDB (e.g. by a query) ordinary referenced objects and collection of objects that have to be loaded eagerly are loaded in bulk for better performance. However, inverse (mapped by) references that have to be loaded eagerly currently do not participate in a bulk load, which means that every reference requires running a separate query and doing a separate client-server round trip. Future versions of ObjectDB should load eager mapped by (inverse) fields in bulk as well. ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
forum_thread

UPDATE query to set a new field after schema change

I've added a new property/field to one of my objects and want to set the value of this (boolean) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated. I then save the changes to the DB via file->save. But when I execute a select on the DB I see that the field is still "null" for all instances. How do I initialize the field? ... future versions. The workaround is to write some code (even in a simple console application) that update the objects in a loop ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ...

 
issue

Full Text Indexing and Query

The ability of ObjectDB to index collections, including collections of strings, can be used for text indexing and search. By splitting the text into words and keeping the words in a List<String> persistent fields, documents that contain specific words can be retrieved easily and efficiently. This ability should be extended in future versions of ObjectDB to complete full text support, as provided by separate tools such as Apache Luncene.... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
issue

config file for embedded database

Hi, I'm going back to embedded mode after some time with client/server mode. Question: how does the embedded jar find it's config file? Dave ps: thanks for the improvements to the explorer - still need a way to view (view only) an open embedded database.   ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
issue

Enhancer NullPointerException

I'm getting the following stack trace when running the enhancer on one of my jars: [ObjectDB 2.3.2_04] null java.lang.NullPointerException at com.objectdb.o.JEL.L(JEL.java:633) at com.objectdb.o.JEL.D(JEL.java:491) at com.objectdb.o.JEN.k(JEN.java:95) at com.objectdb.Enhancer.main(Enhancer.java:32) Please let me know if you need any further information. ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
forum_thread

Not able to update records

Hi,   I am tring to update the simple object by using Update query by i am getting following exception [ObjectDB 2.4.4_15] javax.persistence.TransactionRequiredException Attempt to run update query when no transaction is active (error 611) at com.objectdb.jpa.JpaQuery.executeUpdate(JpaQuery.java:758) Following is the code i am executing   ... Following is the code i am executing   EntityManagerFactory emFactory = ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
forum_thread

Problems Running ODB Explorer

When ODB is run in embedded mode (Eclipse), it is fine but the explorer throws the following exception:-   ... Apparently you added the activation code to the objectdb.conf file that is in use by your application (and this ...

 
issue

Unique Constraint Ignored

If i annotate a getter with: @Column(unique = true) it's simply ignored. If i use @Unique it works perfectly. ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
forum_thread

watch out for your hosting provider migrating machines

My hosting provider recently had a very brief 'scheduled down time'. After which I was getting objectdb exceptions due to max persistent types in database (> 10). Turns out that hosting provider had migrated machines. Luckily I was able to deal with it quickly. I continue to believe that this could be improved.       ... Strange. I cannot see any activation from your account in the last days. How exactly did you ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ...

 
issue

Remove an entity which attributes were changed

We use an OSGi environment and we have three OSGi plugins.   In plugin A an entity is loaded and the entity is passed to plugin B. Plugin B changes an attribute on the entity. Plugin C removes the entity from the database. After commit the transaction an exception is caused with optimistic lock exception of the removed entity.   If this operations on the entity are executed in only one plugin, it works well.   ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...