Hello, I have a question,
I have a JTable, I read some data and store it in JTable, then I edit these data and I want to send them at once to my database. Is it possible? Or I just should made a cycle and upload all data one by one?
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Hello, I have a question,
I have a JTable, I read some data and store it in JTable, then I edit these data and I want to send them at once to my database. Is it possible? Or I just should made a cycle and upload all data one by one?
Yes it is possible, and that's about as specific as one can get with the information provided.
TableView or TableRow? I just have a simple AbstractTableModel, all data I store into List<Item>..
Again, this is not much to go by. Where are you having a problem? What did you try? Do you know how to perform individual SQL updates? Is the problem knowing when to update/when the value changes? There are so many things you could be asking about, if you want more helpful advice you need to clearly define what the problem is, or better yet post an SSCCE and provide some context to the question