
dphibernate - issue #8
HibernateManaged.manageChildHibernateObjects misses variables
In net.digitalprimates.persistence.hibernate.HibernateManaged the manageChildHibernateObjects function is checking for accessors in describeType( object ), which misses out variables, which results in entry becoming null in the getProperty function, if a variable is not a simple object but a HibernateBean.
Workaroud: add accessors to variables.
Comment #1
Posted on Apr 15, 2008 by Helpful Monkey(No comment was entered for this change.)
Comment #2
Posted on Apr 20, 2008 by Happy DogCan you give me an object that causes this issue? By default when something is marked managed, all of the variables become getter/setter pairs which should be caught be the accessor. Curious to know what is going wrong here
Comment #3
Posted on Apr 21, 2008 by Swift RabbitMight be my mistake, i'm not sure what was going on but i can't replicate the error now.
Comment #4
Posted on Apr 21, 2008 by Happy DogNo problem. Just keep us posted if you can reproduce
Comment #5
Posted on Mar 15, 2011 by Swift Giraffe(No comment was entered for this change.)
Status: UnableToReproduce
Labels:
Type-Defect
Priority-Medium