Hi Everyone,
I’m trying to establish a connection between UiPath and an H2 database, but I’m facing issues during the setup.
I have the inputs JDBC URL, Username, Password for the H2 DB configuration in UiPath.
I downloaded the H2.jar file and loaded it inside the Java Scope as the first step. I also configured Java in the system environment and passed the JDK folder path in the Java Scope activity.
Inside the Java Scope, I’m using Invoke Java Method activities to connect to the H2 database and execute a simple SELECT query.
The Java Scope activity itself runs without any errors, but the Invoke Java Method activity inside it throws an error. I’m not getting any data or confirmation from the query execution.
Could someone please guide me on the correct approach or share any working examples for connecting UiPath with an H2 database (preferably using JDBC or any alternative method)?
Any help or suggestions would be greatly appreciated! ![]()
Thanks,
Pritam Senapati
