-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection to Oracle databases #120
Comments
Could you send us the full log? |
Traceback (most recent call last): Connection dictionnary |
try like this Uninstall pyreportjasper and install with
and conn = {
'driver': 'oracle',
'username': '****',
'password': '****',
'db_sid': '****',
'host': ****,
'port': ****',
'jdbc_driver' : "oracle.jdbc.driver.OracleDriver",
'jdbc_dir': "C:\drivers\", # Inform the folder containing the jar file
}
pyreportjasper = PyReportJasper()
pyreportjasper.config(
input_file,
output_file,
output_formats=["pdf"],
db_connection=conn,
resource="C:\drivers"
)
pyreportjasper.process_report() |
Tried it, got that error : |
To help, provide more details. If possible provide the code snippet you are running and attach the jdbc .jar file Describe To Reproduce
Expected behavior Screenshots Desktop (please complete the following information):
Jaspersoft Studio (please complete the following information):
Additional context |
Hi, I have same problem. My code..
Output: Python ver: 3.10.7 Jaspersoft Studio: 6.20.0 |
I still don't know how to make this thing work. But, I had a deadline so I worked aroud it by calling a bit of python code inside Java (as it woked perfectly with python). Don't know if that helps. |
Would you mind sharing your implementation? Best Regards! |
Connections to oracle databases keeps throwing errors :
• NameError: Error fill report: Erro fill internal: java.lang.NullPointerException
• NameError: Error fill report: Java package 'net' is not valid
The second I can't get around.
The text was updated successfully, but these errors were encountered: