cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Mertel" <>
Subject AW: DB2 with Cocoon
Date Sat, 04 Jan 2003 10:32:19 GMT

if there is no schema definition in your query than the username
is used, that you used for connecting to the database.

Just create the needed tables with this user, then it should match.


-----Ursprüngliche Nachricht-----
Von: Robert Sösemann [] 
Gesendet: Samstag, 4. Januar 2003 00:12
Betreff: DB2 with Cocoon


this is my first time connecting IBMs DB2 with cocoon. Cocoon succesfully
finds the drivers and connects correctly.

But I get strange SQL Errors like: [IBM][CLI Driver][DB2/NT] SQL0104N  Auf
"SELECT 1" folgte das unerwartete Token "END-OF-STATEMENT".  Zu den
möglichen Token gehören: "<table_expr>".  SQLSTATE=42601

Before I used MySQL, which doesn't have something like a db schema. As I
know in DB2 you always must set a correct schema before queriing.

I guess the problem causes from the fact that I didn't set a schema in my
ESQL XSP. But how should I do that??

Who can help me out?


Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message