Entao no pgadim ele retorna certo(se eu colocar o to_ascii() mas o problema 
e q nao consigo jogar isso no toplink entendeu
----- Original Message ----- 
From: "Osvaldo Kussama" <[email protected]>
To: "Comunidade PostgreSQL Brasileira" <[email protected]>
Sent: Friday, March 27, 2009 10:29 AM
Subject: Re: [pgbr-geral] Java + TopLink + Postgres


2009/3/27 Fabio Alves de Araujo Ebner - Dna 
<[email protected]>:
> Pessoal falei o lower(e nem o to_lower) nao e aceito.. recebo esse erro
> Local Exception Stack:
> Exception [TOPLINK-8024] (Oracle TopLink Essentials - 2.0.1 (Build 
> b09d-fcs
> (12/06/2007))): oracle.toplink.essentials.exceptions.EJBQLException
> Exception Description: Syntax error parsing the query
> [TbBairro.findAllBairro: SELECT t FROM TbBairro t ORDER BY
> lower(to_ascii(t.nmBairro))], line 1, column 35: syntax error at [lower].


Faça um teste executando sua consulta no psql ou PgAdmin.
Talvez o erro não esteja relacionado ao PostgreSQL.

Osvaldo
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral 

_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a