Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Facebook
Downloads
Home
>
mailing lists
JDBC update changes to JTable. - Mailing list pgsql-jdbc
From
Jian He
Subject
JDBC update changes to JTable.
Date
June 27, 2021
08:11:59
Msg-id
CAMV54g2BjqaDXVXDdHyBx4CUYTnNPBJQcXQXh4PzxMfdzYKuhQ@mail.gmail.com
Whole thread
Raw
Responses
Re: JDBC update changes to JTable.
List
pgsql-jdbc
Tree view
So far what I have been wondering:
I have somehow finished the beginner level of JTable step by step following the official tutorial.
I know how to use JDBC to query/update/ delete PostgreSQL database records.
Add a button to update and insert and delete database table.
After using
select
syntax to populate JTable,
I wonder how to update changes made in JTable to the database.
After browsing StackOverFlow, I have some basic idea:
Step 1: editing
step 2: stop editing;
Step 3: make the update sync with the database.
Step1 is about adjusting the DefaultTableModel by calling related methods as per requirement. Related link:
DefaultTableModel (Java Platform SE 7 ) (oracle.com)
Step2: I copied from StackOverFlow (
https://stackoverflow.com/questions/12823475/what-is-the-best-way-to-listen-for-changes-in-jtable-cell-values-and-update-data
)
Step3
: I don't know how to do it. So I asked the question on StackOverFlow (
java - Update changes In JTable to database? - Stack Overflow
) If you guys know how to do it, please help me.
I know it's less about JDBC, more about Java. Anyway.................
pgsql-jdbc
by date:
Previous
From:
Dave Cramer
Date:
26 June 2021, 10:49:03
Subject:
Re: Exception while updating result set
Next
From:
Sehrope Sarkuni
Date:
27 June 2021, 20:20:52
Subject:
[pgjdbc/pgjdbc] 022f1c: test: Change test TLS cert generation to have ten ...
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
I confirm that I have read and accepted PostgresPro’s
Privacy Policy
.
I agree to get Postgres Pro discount offers and other marketing communications.
✖
×
×
Everywhere
Documentation
Mailing list
List:
all lists
pgsql-general
pgsql-hackers
buildfarm-members
pgadmin-hackers
pgadmin-support
pgsql-admin
pgsql-advocacy
pgsql-announce
pgsql-benchmarks
pgsql-bugs
pgsql-chat
pgsql-cluster-hackers
pgsql-committers
pgsql-cygwin
pgsql-docs
pgsql-hackers-pitr
pgsql-hackers-win32
pgsql-interfaces
pgsql-jdbc
pgsql-jobs
pgsql-novice
pgsql-odbc
pgsql-patches
pgsql-performance
pgsql-php
pgsql-pkg-debian
pgsql-pkg-yum
pgsql-ports
pgsql-rrreviewers
pgsql-ru-general
pgsql-sql
pgsql-students
pgsql-testers
pgsql-translators
pgsql-www
psycopg
Period
anytime
within last day
within last week
within last month
within last 6 months
within last year
Sort by
date
reverse date
rank
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
By continuing to browse this website, you agree to the use of cookies. Go to
Privacy Policy
.
I accept cookies