Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Connecting Java and Snowflake with ADBC

Instructions

Prerequisites

  1. Install Maven

  2. Install dbc

Connect to Snowflake

  1. Install the Snowflake ADBC driver:

    dbc install snowflake
  2. Customize the main method in Example.java

    • Change the connection arguments in the params.put() calls
    • If you changed the database and schema, also change the SQL SELECT statement in stmt.setSqlQuery()
  3. Run the Java program:

    mvn compile exec:exec