home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1696
Discussions: 188,402, Posts: 2,243,609, Members: 232,632
Old April 7th, 2005, 06:16 PM   Digg it!   #1 (permalink)
Tec
Member
 
Join Date: Jan 2003
Posts: 152
Cannot insert the value NULL into column

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

Tec is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Null Modem Cables? Phrost General Tech Discussion 2 November 1st, 2004 07:45 PM
Hardware news column gambler2611 Suggestion Box 2 July 16th, 2004 02:56 AM
Column Autostretch? thisiszero Webmastering and Programming 0 October 8th, 2002 06:53 PM
redhat null: anyone know about it? storm2k Applications and Operating Systems 3 August 24th, 2002 01:55 PM

Most Active Discussions
Is It Just Me? (2906)
3-days in and no threads about Gaza (161)
Misery Loves Company... (2144)
New Build ( Finally ) (7)
CPU wont boot (7)
Building a gaming computer advice (5)
I think I just killed my computer w.. (24)
RCA 52Inch HDTV wont turn on (5)
Folderchat Weekday thread (444)
Recent Discussions
Futronix has water features? (0)
Laptop proccesor to desktop mob.. (2)
Please help! multiple problems! (4)
RCA 52Inch HDTV wont turn on (5)
New Build ( Finally ) (7)
Common Spyware Solutions (97)
How do you move a hard-drive to.. (4)
What is the best external enclo.. (0)
Partition Magic 7.0 (Unallocate.. (17)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 04:45 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28