João,
O resultado em termos de dados eh absolutamente igual. A diferenca aparece no "order by". Talvez você esteja com um problema de Locale/characterset que de alguma forma esteja influenciando na ordenacao feita pelo banco de dados - no caso do thin driver da oracle, o Locale eh recuperado a partir do parametros setados na JVM do cliente (aquele que faz as chamadas JDBC ao BD). Segue URL sobre NLS (National Language Support) : http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a83724/advanc1.htm#1001170
[]s
Maiko
João Marçon <[EMAIL PROTECTED]> escreveu:
PESSOAL,ESTOU COM UM PROBLEMA COM DRIVER ORACLEDRIVER NO PACOTE CLASSES12.ZIPQUANDO EXECUTO UMA QUERY COM A CLAUSULA ORDER BY EM UM CAMPO STRING O DRIVER SE CONFUNDE COM OS PONTOS "."SE ALGUÉM ESTIVER COM O MESMO PROBLEMA ME AJUDEM. ABAIXO SEGUE UM EXEMPLO DO QUE ESTÁ ACONTECENDO.SUPONHAMOS QUE EU EXECUTE A SEGUINTE QUERY UTILIZANDO O DRIVER ACIMA:select name from TABELA where name like 'MARIO%' ORDER BY NAMERESULTADO OBTIDO:MARIO A. DESPINOY JUNIORMARIO A DESPINOY JUNIORMARIO A FIDALGO CHADYMARIO A. M. FIGUEIREDOMARIO A NOGUEIRA DE ALMEIDAMARIO ABBUDAGORA SE EU FIZER O MESMA QUERY UTILIZANDO OUTRO DRIVER POR EXEMPLO O DA INET ORADRIVER OU MESMO UTILIZANDO O TOAD OU O SQLPLUSRESULTADO OBTIDO:MARIO A DESPINOY JUNIORMARIO A FIDALGO CHADYMARIO A NOGUEIRA DE ALMEIDAMARIO A. DESPINOY JUNIORMARIO A. M. FIGUEIREDOMARIO ABBUDTODOS OS ESPAÇOS FORAM CONFERIDOS. E MESMO QUE ESTIVESSEM ERRADOS NÃO EXPLICA O RETORNO ESTAR DIFERENTE.GOSTARIA DE SABER SE REALMENTE ESTE DRIVER NÃO FUNCIONA DIREITO.João Marçon
DexBrasil Ltda.
Fone: +55 (0xx) 11 5051-1822 Ramal 41
As informações contidas neste "e-mail" e nos arquivos anexados, são para o uso exclusivo do destinatário aqui indicado, e podem conter segredos comerciais, de propriedade intelectual ou outras informações confidenciais, protegidas pelas leis aplicáveis. Caso não seja o destinatário correto, esteja notificado, pelo presente, que qualquer revisão, leitura, cópia e/ou divulgação do conteúdo deste "e-mail" são estritamente proibidas e não autorizadas. Por favor, apague o conteúdo do "e-mail" e notifique o remetente imediatamente. Obrigado por sua cooperação.
The information contained in this e-mail and in the attached files are for the exclusive use of the addressee herein nominated, and may contain trade secrets, privileged and other confidential information, protected by the applicable laws. In case you are not the right addressee, you are hereby notified that any reviewing, reading, copying and/or distributing of this e-mail's content is strictly prohibited and unauthorized. Please, delete the e-mail's content and notify the sender immediately. Thank you for your cooperation.
Yahoo! PageBuilder - O super editor para criação de sites: é grátis, fácil e rápido.