Discussions

General J2EE: PersistentEnum.class goes null??

  1. PersistentEnum.class goes null?? (1 messages)

    hi.. it seemed the closest forum to post this, i have a hibernate issue. (can't post on hibernate forums). for some reason, in doing a hot deploy in in jboss we a home grown web application which re-starts ormSession (using spring orm with hibernate), when doing this for the second time, (we are using hibernate 2.1.7c) we fall on nullpointerException which originates from this: PersistentEnum.class.isAssignableFrom(..) when doing PersistentEnum.class.toString() in eclipse on that breakpoint i get a NullPointerException.. how is this possible?
  2. Re: PersistentEnum.class goes null??[ Go to top ]

    Simply don't hot deploy. Hot deployment rarely ever works using Hibernate (or lots of other libraries/projects, including most of the Commons libraries). How come you can't post on the Hibernate forum? /N