Hi...

This may be a stupid question, but I'm struggling to find an answer for it.
I have a class called UserImpl. To this class I want to add another variable
called 'mobileNumber' of type int. Obviously, I want a corresponding column
in my db table as well. 

I've tried adding a new instance variable called mobileNumber, and added
set/get methods, and added another property to my UserImpl.hbm.xml file.
However, now I get a null pointer exception.

Firstly, am I do this correctly? Secondly, are there any documents or
articles which would be useful for me? I've tried searching around but could
not find anything.

Thanks.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to