Is it possible to get an status code on login failure? The exception does return some useful info, but if it's possible to get an error code, It'll be easier to show some userfriendly message to the user (in spanish, which is another issue). The code of the exception always reports 0. Best Regards, Andres
Have you tried getSQLState() ? >>> Andres Olarte <olarte.andres@gmail.com> 10/04/05 3:05 PM >>> Is it possible to get an status code on login failure? The exception does return some useful info, but if it's possible to get an error code, It'll be easier to show some userfriendly message to the user (in spanish, which is another issue). The code of the exception always reports 0. Best Regards, Andres ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера