Hi,
 
i have a problem since i implemented a PersistentEnum in my mapping file. I Implemented a PersistentEnum class. In my mapping.xml this class is referenced as
    <property name="markt" column="markt" type="biz.bearingpoint.biss.domain.Markt" />
 
The column in the database is declared as INT NOT NULL.
 
Using this declaration (in my JUnit test environment) the SessionFactory.openSession() throws a NullPointerException without any hints.
 
Everything works fine if i remove this line from the mapping document.
 
I've read the manuals two times but i have no idea, what could be wrong.
 
Any ideas?
 
Regards,
    Ralf

Reply via email to