Skip to content

Oracle Jasper Connection #32

Open
Open
@mrffiroz

Description

@mrffiroz

$input = DIR . '/../../../../vendor/geekcom/phpjasper/examples/Blank_A4.jasper';
$output = DIR .'/../../../../vendor/geekcom/phpjasper/examples';
$jdbc_dir = DIR . '/../../../../vendor/geekcom/phpjasper/bin/jaspertarter/jdbc';
$options = [
'format' => ['pdf'],
'locale' => 'en',
//'params' => ['bankId'=>'260','stDate'=>'06/10/2021','edDate'=>'06/19/2021','branchId'=>''],
'db_connection' => [
'driver' => 'generic',
'username' => 'BANK',
'password' => 'BANK',
'host' => '192.168.78.1',
'database' => "dummydb",
'port' => '1521',
'jdbc_dir' => $jdbc_dir,
'jdbc_driver'=>'oracle.jdbc.driver.OracleDriver',
'jdbc_url' => 'jdbc:oracle:thin:@192.168.78.1:1521:dummydb',
'db_sid' => 'dummydb'
]
];

    I am failed to connect oracle server!!
    Try to us it with laravel 6.8 But always 
    "Your report has an error and couldn 't be processed!\ Try to output the command using the function `output();` and run it manually in the console. "
    
    Can you describe how to connect with laravel+oracle 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions