Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » errors with flat file
errors with flat file [message #48842] Tue, 21 June 2005 19:21 Go to next message
Eclipse UserFriend
Originally posted by: no.spam.com

Trying to test BIRT with a flat file (don't ask, aaargh) and keep getting
the following error when setting up a data set:

A Birt exception occurred.
Error Code:odaconsumer.CannotPrepareStatement
Error Message:Failed to prepare the follwing query for the data set type
(org.eclipse.birt.report.data.oda.flatfile.dataSet).
[select l sIncidentType, x nPotentialLossAmount from Incidents_2005-06-15]
Source data error
Source data error


Anyone have any thoughts as to why?
No thoughts, on this? (eom) [message #49145 is a reply to message #48842] Wed, 22 June 2005 13:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: no.spam.com

?
found another instance of error mssg [message #49358 is a reply to message #48842] Wed, 22 June 2005 14:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ugaman94.gmail.com

Documented at
http://dev.eclipse.org/newslists/news.eclipse.birt/msg00759. html

Can anyone report successfully working with flat file data sources?
Re: found another instance of error mssg [message #49928 is a reply to message #49358] Wed, 22 June 2005 21:40 Go to previous messageGo to next message
Mike Boyersmith is currently offline Mike BoyersmithFriend
Messages: 143
Registered: July 2009
Senior Member
Hi Mark,

I was messing around with flat file stuff a bit back
the format of the data in the flat file, has to be something like

a,b,c
string,string,string
1,2,3
4,5,6
7,8,9


where abc are your labels
string,string,string are your data type for each column
and then of course the data

hope that helps some.

- Mike




Mark wrote:
> Documented at
> http://dev.eclipse.org/newslists/news.eclipse.birt/msg00759. html
>
> Can anyone report successfully working with flat file data sources?
>
Re: found another instance of error mssg [message #50094 is a reply to message #49928] Thu, 23 June 2005 02:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: no.spam.com

Thanks...are you saying the data types have to be 'declared' in the 2nd
rows of cells? I'm not following, completely...
or... [message #50362 is a reply to message #49928] Thu, 23 June 2005 13:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: no.spam.com

...are you saying that all the data types must be strings?
figured it out Mike, thanks! (eom) [message #50390 is a reply to message #49928] Thu, 23 June 2005 14:08 Go to previous message
Eclipse UserFriend
Originally posted by: no.spam.com

#
Previous Topic:Parameter in "in" SQL clause
Next Topic:HTTP 500 error, previewing my report in the report designer
Goto Forum:
  


Current Time: Sun Oct 06 08:35:00 GMT 2024

Powered by FUDForum. Page generated in 0.03601 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top