Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jtable data migrating to mysqldatabase  RSS feed

 
monisha kasturi
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am facing problem in transferring data from jtable to database.My data is persist in jtable now i want to move it as a bunch into my sql(Array),i am not able to do it.
Please help me out i am pasting all my code.Note:Hopefully the problem is with sql statement i am not able to collect data into array. here.Please guide me how should i do this
GetterSetters




Logic

Mainclass

 
K. Tsang
Bartender
Posts: 3648
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Too much code to go through.

If you think it's your sql having problem, print out the sql in console and check before inserting to database.

 
Swastik Dey
Rancher
Posts: 1812
15
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I changed one of your methods, see if this helps
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!