Skip to main content
Solved

custom package creation for database using jdbc driver

  • 5 March 2024
  • 4 replies
  • 60 views

Team, I’m building a custom package in intellij for database insert query, the code is working in intellij after importing sdk after build in gradle I see jdbc driver is missing from the A360 control room

Any insights would be grateful

4 replies

Userlevel 6
Badge +15

Ensure that the JDBC driver JAR file is included in your custom package. The JAR file should be added to the package and referenced properly in your code and build.gradle file to make sure that you have included the JDBC driver as a dependency

 
Badge +1

thanks for the input. Would you be able mention step by step procedure which would be grateful

Userlevel 6
Badge +15

included the JDBC driver as a dependency. (build.gradle file)

 

For example:

dependencies {
    implementation 'your.jdbc.driver.group:jdbc-driver:version'
    // other dependencies
}
 

please replace 'your.jdbc.driver.group:jdbc-driver:version' with the actual coordinates of your JDBC driver.

Badge +1

Thanks. I’ve added this string 

implementation 'mysql:mysql-connector-java:8.0.25'

which is working as expected now

Reply