Subject | Testing Jaybird 3 with Embedded Database on Windows |
---|---|
Author | Peter Borissow |
Post date | 2016-11-26T13:40:43Z |
Hello-
I'd like to try to use jaybird 3 with the latest version of firebird. Specifically, I'd like to use the embedded database option on Windows. I have tried the following but I keep getting a java.lang.UnsatisfiedLinkError: Unable to load library 'fbembed'
java.sql.Driver driver = (java.sql.Driver) Class.forName("org.firebirdsql.jdbc.FBDriver").newInstance();
java.util.Properties props = new java.util.Properties();
props.put("charSet", "utf-8");
props.put("charSet", "utf-8");
driver.connect("jdbc:firebirdsql:embedded:" + path, props);
From what I've read, the fbembed.dll was replaced by engine12. I took a quick peak at the jaybird code on github and there's a note about engine12 but the code is still trying to load fbembed:
What's the best way to proceed? Rename engine12 to fbembed? Update the code to try to load engine12?
Thanks,
Peter
Jaybird-3.0.0-beta-1-JDK_1.7
Firebird-3.0.1.32609-0_x64