Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I found this example for C# ...

hsqldb.dll, <br />
IKVM.OpenJDK.Core.dll, <br />
IKVM.OpenJDK.Jdbc.dll
as reference
C#
using java.sql;

private Connection GetConnection()
    {
        DriverManager.registerDriver(new org.hsqldb.jdbcDriver());
        Connection conn = DriverManager.getConnection("jdbc:hsqldb:hsql://[host]/[db name]", "[username]", "[password]");
        return conn;
    }


But I have not found hsqldb library compatible with visual studio.

Does anyone know how to do this? Thanks
Posted
Updated 16-Jul-15 1:40am
v2
Comments
Mehdi Gholam 16-Jul-15 0:43am    
The example is for java not c#.
Member 11567896 16-Jul-15 8:32am    
I saw this example on this page http://stackoverflow.com/questions/16119284/how-to-form-connection-between-hsqldb-and-c-sharp-net

1 solution

Quote:
But I have not found hsqldb library compatible with visual studio.
According to the HSQLDB page[^] it's in the /dotnet folder of the referenced SVN repository[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900