> Logging at DEBUG level printed the following line:
> 
> sql.SqlGeneratorDefaultImpl - SQL:SELECT A0.[eqp type],A0.[lata
> name],A0.[h-coord],A0.[eff
> date],A0.lata,A0.[v-coord],A0.filler1,A0.ocn,A0.status,A0.switch,A0.aocn
> FROM [Lerg 7] A0 WHERE A0.switch LIKE ?
> 
> Is this the query that is generated by OJB and passed to JTDS? If so,
> then does this mean that the problem lies within JTDS?

Yup, that's the SQL (you could also use P6Spy to see exactly what goes
to the JDBC driver, see here:
http://db.apache.org/ojb/docu/faq.html#traceProfileSQL).

The second exception that you posted is definitly a problem with JDTS
or - more likely - with the database itself. Check the doc on which
characters are allowed for column names; they are typically very
limited like alphanumerical + '_'. The same could be true for the
first exception (with the space).

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to