The DatabaseConnection child class associated with writing data to the database.
More...
|
| DatabaseWriteConnection (String m_dbConnectionString) |
| Initializes a new instance of DatabaseWriteConnection.
|
|
void | setNote (int m_cardID, String m_data) throws SQLException |
| Set the card's note information, given the primary key and the associated note data.
|
|
| DatabaseConnection (String m_dbConnectionString) |
| Initializes a new instance of DatabaseConnection.
|
|
|
PreparedStatement | ActivePreparedStatement |
| The statement object associated with writing data to the database.
|
|
Connection | ActiveConnection |
| The connection object associated with the instance of DatabaseConnection.
|
|
|
void | finalize () |
| Method called by the Java garbage collector before the object is destroyed.
|
|
void | finalize () |
| Method called by the Java garbage collector before the object is destroyed.
|
|
|
String | dbConnectionString |
| The JDBC connection string that corresponds to the database.
|
|
String | activeQuery |
| The currently active query string used to generate the ActiveResultSet.
|
|
The DatabaseConnection child class associated with writing data to the database.
◆ DatabaseWriteConnection()
net.samuelcmace.utk.logic.DatabaseWriteConnection.DatabaseWriteConnection |
( |
String |
m_dbConnectionString | ) |
|
Initializes a new instance of DatabaseWriteConnection.
- Parameters
-
m_dbConnectionString | The JDBC connection string. |
◆ finalize()
void net.samuelcmace.utk.logic.DatabaseWriteConnection.finalize |
( |
| ) |
|
|
protected |
Method called by the Java garbage collector before the object is destroyed.
Although this method is not needed in most java programming, it is needed here to ensure that the database connections are closed before the program exists.
Reimplemented from net.samuelcmace.utk.logic.DatabaseConnection.
◆ setNote()
void net.samuelcmace.utk.logic.DatabaseWriteConnection.setNote |
( |
int |
m_cardID, |
|
|
String |
m_data |
|
) |
| throws SQLException |
Set the card's note information, given the primary key and the associated note data.
- Parameters
-
m_cardID | The primary key that corresponds to the Kanji character in question. |
- Exceptions
-
SQLException | Thrown if there was a database-related connection error. |
The documentation for this class was generated from the following file:
- /github/workspace/src/main/java/net/samuelcmace/utk/logic/DatabaseWriteConnection.java