phpjasper icon indicating copy to clipboard operation
phpjasper copied to clipboard

Error adding jdbc-dir Oracle

Open Touchteng opened this issue 4 years ago • 2 comments

Hello Team,

Currently I'm facing on issue for connection with Oracle DB with PHPJasper. I can use with MySQL but cannot make connection with Oracle right now. I copied and run via console but it shows error adding jdbc-error. Please help to solve it. Here is my JDBC-dir: C:\xampp1\htdocs\hot_bill_stagging\vendor\cossou\jasperphp\src\JasperStarter\jdbc\ojdbc6.jar

Thanks,

Touchteng avatar Jul 14 '21 08:07 Touchteng

Hi @Touchteng please copy your ojdbc6.jar to /bin/jasperstarter/jdbc this is the jdbc drivers directory.

geekcom avatar Jul 14 '21 15:07 geekcom

/bin/jaspe

Due to good "/vendor" practices, it is not usually added in version control. Putting a binary or specific use file in this directory, doesn't it end up being a bad practice?

my suggestion is to make the "jdbc_dir" parameter functional again so that a path that is under version control, etc. can be added.

alissonalberini avatar Dec 02 '22 15:12 alissonalberini