Title: Mensagem
Maiko,
 
OBRIGADO VOU LER A DOCUMENTAÇÃO E VER SE ACHO ALGO.
MAS NÃO CONSIGO ENTENDER UM SEGUINTE:
MESMO QUE O DRIVER ESTEJA UTILIZANDO UMA OUTRA ORDENAÇÃO, MESMO ASSIM ELA ESTARIA ERRADA.
 
 

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.

-----Mensagem original-----
De: Maiko A. Rocha [mailto:[EMAIL PROTECTED]]
Enviada em: quarta-feira, 28 de agosto de 2002 19:56
Para: [EMAIL PROTECTED]
Assunto: Re: [java-list] DRIVER JDBC ORACLE RETORNA CONSULTA ERRADA.

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.ZIP
QUANDO 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 NAME
 
RESULTADO OBTIDO:
 
MARIO A. DESPINOY JUNIOR
MARIO A DESPINOY JUNIOR
MARIO A FIDALGO CHADY
MARIO A. M. FIGUEIREDO
MARIO A NOGUEIRA DE ALMEIDA
MARIO ABBUD
 
 
AGORA SE EU FIZER O MESMA QUERY UTILIZANDO OUTRO DRIVER POR EXEMPLO O DA INET ORADRIVER OU MESMO UTILIZANDO O TOAD OU O SQLPLUS
 
RESULTADO OBTIDO:
 
 
MARIO A DESPINOY JUNIOR
MARIO A FIDALGO CHADY
MARIO A NOGUEIRA DE ALMEIDA
MARIO A. DESPINOY JUNIOR
MARIO A. M. FIGUEIREDO
MARIO ABBUD
 
 
TODOS 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.

Responder a