Eyesmagicx Posted November 27, 2022 Share Posted November 27, 2022 Hi. I am new to JasperReportsIntegration tool. I followed the quick start guide https://github.com/daust/JasperReportsIntegration/blob/main/src/doc/github/installation-quickstart.md but I faceda problem configuring the database access.I have Oracle database 18c xe. And I have a pluggable db named xepdb1 which has my schemas.When trying to configure the "default" variable for database access in "application.properties" file, it did not work and I got error says that it does not know of an SID with the name xepdb1.So, now I know that it uses SID not service name. But SID is assigned to the container database CDB not the pluggable database.Here is the "default" variable configuration part in the file:[datasource:default]type=jdbcurl=jdbc:oracle:thin:@localhost:1521:XEusername=hrpassword=hrHow can I connect with service name instead of SID? Or how should I handle that situation? Link to comment Share on other sites More sharing options...
Solution Eyesmagicx Posted November 28, 2022 Author Solution Share Posted November 28, 2022 Found it. Replace ":XE" with "/XEPDB1". SO, url=jdbc:oracle:thin:@localhost:1521:XEwill become url=jdbc:oracle:thin:@localhost:1521/XEPDB1 Link to comment Share on other sites More sharing options...
Eyesmagicx Posted November 28, 2022 Author Share Posted November 28, 2022 Where to select that? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now