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

From JTable to MYSQL in Java  RSS feed

 
Juan Bermudez
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I have some difficulties saving my JTable into a MYSQL database. I'm already connected to my MYSQL database but I have no idea how to put my JTable on it. The fields on are the same in both tables. I would like to make the closest thing to a copy/paste. thanks for your answers!
 
Campbell Ritchie
Marshal
Posts: 55698
163
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

Have you seen the Java Tutorials’ JDBC section?
 
Juan Bermudez
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't find the solution could anybody help me please?!
 
Campbell Ritchie
Marshal
Posts: 55698
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you trying to do? What is the structure of your MySQL table? What is going wrong? Nobody can help you without that sort of details.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!