![]() setProperty ( "password", "secret" ) properties. setProperty ( "user", "test" ) properties. URL parameters String url = "jdbc:trino://:8080/hive/sales" Properties properties = new Properties () properties. The following JDBC URL formats are supported: When your driver is loaded, registered and configured, you are ready to connect Once registered, you must also configure the connection information as described ![]() Please check your application’s documentation. In a UI or on the command line depend upon the specific application you are GUI-based SQL editors, read this section. If your application does not, such as is the case for some Registering and configuring the driver #ĭrivers are commonly loaded automatically by applications once they are added to May need to manually register and configure the driver. Of users on systems where they will access Trino.Īfter you have downloaded the JDBC driver and added it to yourĬlasspath, you’ll typically need to restart your application in order to Once downloaded, you must add the JAR file to a directory in the classpath To download, where xxx is the version number. ![]() ![]() Navigate to theĭirectory for the desired version, and select the trino-jdbc-xxx.jar file A list of allĪvailable versions can be found in the Maven Central Repository. We recommend using the latest version of the JDBC driver. The driver is also available from Maven Central: The Trino JDBC driver has the following requirements:Īll users that connect to Trino with the JDBC driver must be granted access toĭownload trino-jdbc-367.jar and add it to the classpath of your Java application. Both desktop and server-side applications, suchĪs those used for reporting and database development, use the JDBC driver. Users to access Trino using Java-based applications, and other non-JavaĪpplications running in a JVM. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |