Guinsoo
GitHub
  • Welcome to Guinsoo!
  • Guides
    • Introduction
    • Quickstart
    • Features
    • Installation
    • Tutorial
      • Using the Server
      • Clients for Guinsoo
        • NodeJS
        • Go
        • Rust
        • C++
        • Python
        • Java
      • Web UI for Guinsoo
      • The Shell Tool
      • CSV Support
    • Security
    • Performance
    • Advanced
  • Reference
    • Commands
    • Functions
    • Aggregate
    • Window
    • Data Types
    • SQL Grammar
    • System Table
  • Support
    • FAQ
  • Appendix
    • Links
    • Architecture
    • Contribute
    • License
Powered by GitBook
On this page
  • The Embedded Mode
  • The Server Mode

Was this helpful?

  1. Guides
  2. Tutorial
  3. Clients for Guinsoo

Java

If you are using Guinsoo org.guinsoo.Driver and the URL starts with jdbc:gusinsoo: , we recommended using it directly in embedded mode. However, you can also use it in server mode with different dialogs, e.g. PostgreSQL, MySQL, DB2, Oracle, Derby, MSSQL, and so on.

The Embedded Mode

Class.forName("org.guinsoo.Driver");
// Mem or file can be used.
Connection conn = DriverManager.getConnection("jdbc:guinsoo:mem:");
Statement stat = conn.createStatement();

stat.execute("select 1+2");

stat.close();
conn.close();

The Server Mode

If you are using it in server mode, all the dialogs, such as PostgreSQL, MySQL, DB2, Oracle, Derby, and MSSQL, all clients of the dialogs can be used.

PreviousPythonNextWeb UI for Guinsoo

Last updated 2 years ago

Was this helpful?