| От | Oliver Jowett |
|---|---|
| Тема | Re: problem in connetting using reflection |
| Дата | |
| Msg-id | 407942B7.6090602@opencloud.com обсуждение исходный текст |
| Ответ на | problem in connetting using reflection (Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>) |
| Список | pgsql-jdbc |
Giuseppe Sacco wrote: > So I tried to use the java reflection to inspect the > org.postgresql.jdbc3.Jdbc3ConnectionPool class (or other classes) and > call all required methods. > > The problem is that, when I use this way (a source is attached) I always > get the error: > that is, in english, "The ``user'' property is missing while it is > mandatory." > > Of course the 'setUser()' method is called but it doesn't work. > > Do you have any idea about this problem? We use exactly the same technique (set properties by reflection on the DataSource) and it works fine, so the concept is ok; the problem lies in your implementation. Perhaps you are setting the username to an empty string? -O
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера