Skip to content

Commit

Permalink
JDBC-247: Make Events work on Embedded as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mrotteveel committed Apr 9, 2012
1 parent 4156cac commit a92bc49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/org/firebirdsql/event/FBEventManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ public void connect() throws SQLException {
DatabaseParameterBuffer dpb = gds.createDatabaseParameterBuffer();
dpb.addArgument(DatabaseParameterBuffer.USER, user);
dpb.addArgument(DatabaseParameterBuffer.PASSWORD, password);
String connString = host + "/" + port + ":" + database;
try {
String connString = GDSFactory.getDatabasePath(gds.getType(), host, port, database);
gds.iscAttachDatabase(connString, dbHandle, dpb);
} catch (GDSException e){
throw new FBSQLException(e);
Expand Down

0 comments on commit a92bc49

Please sign in to comment.