Hi! This Java web application tries to insert data into a table using OJB and SQL server but gives me the following error "Cannot insert the value NULL into column 'COD_PERSON' ..." displayed in the browser window. The problem is that I tried debugging every code line(using Eclipse) to the moment before it tries to insert the data to the database and the 'COD_PERSON' attribute IS CLEARLY filled with information before it gets inserted! This field is primary key. I'm working with a friend on this project, he knows the application very well, designed most of it himself and doesn't know what's going on either!! The class from which the insert command tries to insert extends from a class that extends from another class, the COD_PERSON attribute itself is from the first class.
Any ideia/info on this error would be great!
Eclipse 2.1
TOMCAT 4
SQL SERVER 2000