database connection is successful but when i am trying to run this report
the error is occur. Please reply my
this is the error
///// error///////////////////////
A BIRT exception occurred.
Plug-in Provider:Eclipse.org
Plug-in Name:BIRT Data Engine
Plug-in ID:org.eclipse.birt.data
Version:2.3.0.v20080606
Error Code:odaconsumer.CannotPrepareStatement
Error Message:Failed to prepare the following query for the data set type org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet.
[select *
from PERSON_DETAILS]
Error preparing SQL statement.
SQL error #1: Table not found in statement [select *
from PERSON_DETAILS]
///////////////////////////////
I seem to have lost the original thread. Did you post the log file for
this?
Jason
On 9/23/2010 4:07 AM, Uttam Ghosh wrote:
> Thanks for your reply.
>
> yes, The driver is in this directory
> eclipse\plugins\org.eclipse.birt.report.data.oda.jdbc_2.3.2.
> r232_v20090212\drivers
Thanks Jason
This is the log and the rptdesign file
///// error///////////////////////
A BIRT exception occurred.
Plug-in Provider:Eclipse.org
Plug-in Name:BIRT Data Engine
Plug-in ID:org.eclipse.birt.data
Version:2.3.0.v20080606
Error Code:odaconsumer.CannotPrepareStatement
Error Message:Failed to prepare the following query for the data set type org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet.
[select *
from PERSON_DETAILS]
Error preparing SQL statement.
SQL error #1: Table not found in statement [select *
from PERSON_DETAILS]
///////////////////////////////
Did the error come out of the log file? I assume this error is
happening when you are previewing the dataset? The error is complaining
about not finding the table. Can you verify the name and also I noticed
you did not specify a db like:
jdbc:mysql://localhost/mydb in the data source editor. Can you hit the
test connection button once you have entered a db?
Jason
On 9/24/2010 3:03 AM, Uttam Ghosh wrote:
> Plug-in Provider:Eclipse.org
> Plug-in Name:BIRT Data Engine
> Plug-in ID:org.eclipse.birt.data
> Version:2.3.0.v20080606
> Error Code:odaconsumer.CannotPrepareStatement
> Error Message:Failed to prepare the following query for the data set
> type org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet.
> [select *
> from PERSON_DETAILS]
> Error preparing SQL statement.
> SQL error #1: Table not found in statement [select *
> from PERSON_DETAILS]
yes , this error is happening when I am previewing the dataset.
Also I verify the name and user_id and this is OK .
You can see I specified a db like:jdbc:hsqldb:test
and user is sa . When I hit the
test connection button I can see "Connection successfum" message.
Also i tried this report with mysql and this report is runing well with mysql.I am sending the same report with mysql which is OK.
This is my data source
///////////////////////////// data source ///////////////////////////
<data-sources>
<oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="Data Source" id="6">
<property name="odaDriverClass">org.hsqldb.jdbcDriver</property>
<property name="odaURL">jdbc:hsqldb:test:</property>
<property name="odaUser">sa</property>
</oda-data-source>
</data-sources>
///////////////////////////// end data source ///////////////////////////
On 9/30/2010 2:49 AM, Uttam Ghosh wrote:
>
> Thanks Jason
>
> Yes, also in tried with another version of
> the HSQL driver which is 1.8 but problem is same.