Hi,
I need to use the NOT LIKE operator in the Map, but when I put NOT LIKE in the operand of the map, the SQL is generated with an error, the field name an the 'not like' appear together...
I try to put a blank space before 'not like' in the map, and don?t work, the field just disappears.
How can I do this??
[EJB-QL Compiler]: where clause:
CocoPowder:: query = select F1,F2,F3,F4,F5,F6 from (SELECT SGI_CENTRO_RESULTADO.ID AS F1,SGI_CENTRO_RESULTADO.CODIGO AS F2,SGI_CENTRO_RESULTADO.NOME AS F3,SGI_CENTRO_RESULTADO.PRF_ID_GERENTE AS F4,SGI_CENTRO_RESULTADO.CR_ID_PAI AS F5,SGI_CENTRO_RESULTADO.CODIGO_REDUZIDO AS F6 FROM SGI_CENTRO_RESULTADO WHERE SGI_CENTRO_RESULTADO.CODIGOnot like'EXTINTO%') T0
CocoPowder:: Creating new Prepared SQL Statement
CocoPowder:: Exception encountered = java.sql.SQLException: ORA-00904: invalid column name
CocoPowder:: Exception occurred for operation=select mapname=null passedObject = null secondParam=nullException = java.sql.SQLException: ORA-00904: invalid column name
CocoPowder:: Exception occurred for operation=select mapname=$$CBQUERY_2020896_O passedObject = KeyField =CBSQLWHERE value=, secondParam=selectException = java.sql.SQLException: ORA-00904: invalid column name
CocoPowder:: Exception occurred for operation=select mapname=$$CBQUERY_2020896_O passedObject = KeyField =CBSQLWHERE value=, secondParam=selectException = thought.CocoBase.CocoBaseException: CBMessage=Select failed in Database SQL for map=<$$CBQUERY_2020896_O>.CoreMessage=ORA-00904: invalid column name
|