Tag: cglib

Here you can see a listing of all the posts tagged with cglib on this website.

  • Json-lib vs. CGLib Proxies - 1:0

    Posted on Feb. 13, 2008 at 19:27 +0100 Tagged with , , ,

    Sometimes I'm really blind. For the last couple of months I was all the time having some problems with serializing JavaBeans that I get out of Hibernate into JSON and often got an error like this:

    java.lang.NoSuchMethodException: Property 'delegate' has no getter method
    

    I always knew that it had to be something with the whole proxy-layer Hibernate uses for handling for instance lazy referencing, but for some reason I never really actually did anything against it but rewrite the code to build the JSONObjects more or less manually.

    [more ...]

    0 comments