two bugs: 1. If i create new instance of hibernatebean's sub class,happen getter exception. 2. When hibernate pojo has java.util.HashSet/Set,happen CastException
Comment #1
Posted on Mar 13, 2008 by Helpful Monkeycan you send me the hibernate mapping files you created? so I can see how you are doing it?
Comment #2
Posted on Mar 13, 2008 by Helpful Monkeycan you attach the hibernate mapping files you created? so I can see how you are doing it? So I can reproduce it.
Comment #3
Posted on Mar 14, 2008 by Grumpy GiraffeOK there is hibernate mapping file and pojo
- domain.rar 11.37KB
Comment #4
Posted on Mar 16, 2008 by Helpful MonkeyCan you do 3 things for me
- make sure you are using the 1.0.1 version, or higher.
- send me the error (stack trace) that you are getting.
Also, I've add a new unit test in the dpHibernateUnitTests project (in svn) with your mapping files. And they appear to be working correctly. Can you look at the unit test and see if I'm missing something (access to a property, etc.).
thanks, --mike
Comment #5
Posted on Mar 17, 2008 by Grumpy Giraffethank you for your help! if you use my project's Permission object to get Role object,happen String castException.
Comment #6
Posted on Mar 17, 2008 by Grumpy GiraffeDo you try to save,update,delete Object in dpHbernate?
Comment #7
Posted on May 25, 2008 by Helpful Monkey(No comment was entered for this change.)
Status: UnableToReproduce
Labels:
Type-Defect
Priority-Medium