| От | Kevin Murphy |
|---|---|
| Тема | OT: easiest way to create a custom PreparedStatement class |
| Дата | |
| Msg-id | 42C19D1D.30809@genome.chop.edu обсуждение исходный текст |
| Ответы |
Re: OT: easiest way to create a custom PreparedStatement class
Re: OT: easiest way to create a custom PreparedStatement class |
| Список | pgsql-jdbc |
I am modifying some existing data loading code (that only makes use of 4 or 5 methods from PreparedStatement) to optionally be able to *not* connect to a database but instead dump either the generated SQL code or the raw insert data to files on the file system. It would be great if I could just overload PreparedStatement with my own classes, but unfortunately it is an interface, so I presumably need to implement stubs for the umpty-ump methods defined by PreparedStatement? Is this true, and if so, what is the easiest/fastest way to do this (if it is even possible)? I am a java newbie, by the way. Don't flame me too hard. I did say "OT", after all ;-) Thanks, Kevin
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера