Java, Hibernate annotations, How to add methods to POJO object?

Posted by RussianBear on Stack Overflow See other posts from Stack Overflow or by RussianBear
Published on 2010-06-11T13:09:31Z Indexed on 2010/06/11 13:13 UTC
Read the original article Hit count: 227

Filed under:
|
|
|

I am using hibernate annotations. How to add methods to POJO object? For example i have "getChildNodes" method, associated with database, but i want also add recursive method "getAllChildNodes". I get "org.hibernate.PropertyNotFoundException: Could not find a setter for property progress in class" exception when i do it.

© Stack Overflow or respective owner

Related posts about java

Related posts about hibernate