Kevin,
JTable doesn't "understand" your database. You must include in the JTable (or the underlying TableModel) sufficient information to identify the row in your database. This may be the key column value(s) for the database table, a rowid, or whatever you plan to use in your database delete statement. When someone clicks on a JTable row, it's up to your
Java code to retrieve the information identifying the row (from the TableModel) and use it in the delete statement.
You don't have to display that information in the JTable, of course. You can have lots of columns in a TableModel that are not display in the JTable.