Skip to content

Commit

Permalink
CLDR-14913 VXML, fix XPathTable, no commit in addXpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
btangmu committed Sep 3, 2024
1 parent 1c4b181 commit 28887aa
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public synchronized void loadXPaths(XMLSource source) {
* Add a set of xpaths to the database.
*
* @param xpaths
* @param conn
* @param conn the connection (auto-commit)
* @throws SQLException
*/
private synchronized void addXpaths(Set<String> xpaths, Connection conn) throws SQLException {
Expand All @@ -244,7 +244,6 @@ private synchronized void addXpaths(Set<String> xpaths, Connection conn) throws
stat_dbAdd++;
}
insertStmt.executeBatch();
conn.commit();
insertStmt.close();

// PreparedStatement.getGeneratedKeys() only returns the ID of the
Expand Down

0 comments on commit 28887aa

Please sign in to comment.