Skip to content

Commit

Permalink
Improved synchronization of the JDBC utils.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmihajlovski committed Dec 11, 2016
1 parent e934f5d commit 69f8136
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rapidoid-sql/src/main/java/org/rapidoid/jdbc/JdbcClient.java
Expand Up @@ -34,12 +34,12 @@
@Since("3.0.0")
public class JdbcClient extends RapidoidThing {

private boolean initialized;
private volatile boolean initialized;

private String username;
private String password;
private String driver;
private String url;
private volatile String username;
private volatile String password;
private volatile String driver;
private volatile String url;

private volatile ConnectionPool pool = new NoConnectionPool();

Expand Down

0 comments on commit 69f8136

Please sign in to comment.