aspose file tools*
The moose likes Java in General and the fly likes From JTable to MYSQL in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "From JTable to MYSQL in Java" Watch "From JTable to MYSQL in Java" New topic
Author

From JTable to MYSQL in Java

Juan Bermudez
Greenhorn

Joined: Jul 30, 2012
Posts: 2
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
Sheriff

Joined: Oct 13, 2005
Posts: 38363
    
  23
Welcome to the Ranch

Have you seen the Java Tutorials’ JDBC section?
Juan Bermudez
Greenhorn

Joined: Jul 30, 2012
Posts: 2
I can't find the solution could anybody help me please?!
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38363
    
  23
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: From JTable to MYSQL in Java