Archive for the ‘Db4o’ Category

Why I want use GORM standalone in Griffon.
Continue reading ‘RDBMS vs OODBS – GORM vs Db4o’ »

While playing with Groovy and Db4o I ran across a few errors that nearly put me right off Db4o. But after half a day tinkering I have found that it’s not really a problem with Db4o. If you are getting any of the following errors when trying to use Db4o and Groovy then perhaps this post can help.

Errors:

java.lang.ClassCastException
cannot be cast to com.db4o.reflect.generic.GenericObject // or person.getClass() is this.
// When trying to access a method or property of a retrieved object.
groovy.lang.MissingMethodException
groovy.lang.MissingPropertyException
(G) Person // GenericObject, e.g: println person

Continue reading ‘Groovy scritps and Db4o’ »