• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Statement doesn´t add data from textField in table.

 
Dave Luling
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


I tried to insert data from my textfields into my table. It inserts a new row in the database but it doesn´t insert the data from the textfields.





I hope someone can help me.
 
Arun Kumarr
Ranch Hand
Posts: 661
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Did you try printing them on the console? Are you really getting the values?



If you are not, then may be because you are doing this,


and in the constructor you are not setting any value for the fields.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic