Export to GitHub

dphibernate - issue #5

bugs!!!


Posted on Mar 13, 2008 by Grumpy Giraffe

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 Monkey

can 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 Monkey

can 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 Giraffe

OK there is hibernate mapping file and pojo

Attachments

Comment #4

Posted on Mar 16, 2008 by Helpful Monkey

Can you do 3 things for me

  1. make sure you are using the 1.0.1 version, or higher.
  2. 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 Giraffe

thank 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 Giraffe

Do 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