Oct 222010

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.


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.
(G) Person // GenericObject, e.g: println person

Continue reading »