Skip to main content
Solved

custom package creation for database using jdbc driver


Forum|alt.badge.img+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

Best answer by Tamil Arasu10

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.

View original
Did this topic help answer your question?

4 replies

Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3275 replies
  • March 5, 2024

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

 

Forum|alt.badge.img+1

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


Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3275 replies
  • Answer
  • March 5, 2024

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.


Forum|alt.badge.img+1

Thanks. I’ve added this string 

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

which is working as expected now


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings