Solved

custom package creation for database using jdbc driver

  • 5 March 2024
  • 4 replies
  • 32 views

Badge +1

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

icon

Best answer by Tamil Arasu10 5 March 2024, 10:02

View original

4 replies

Userlevel 5
Badge +11

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 5
Badge +11

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