| От | Ken Kachnowich |
|---|---|
| Тема | Re: Newlines in String inserts with JDBC |
| Дата | |
| Msg-id | 39D3C138.86C1FDDB@toad.net обсуждение исходный текст |
| Ответ на | Newlines in String inserts with JDBC (Ken Kachnowich <khkachn@toad.net>) |
| Список | pgsql-interfaces |
Sorry, I did not give enough information. I am using the Serialize class. It builds an SQL insert statement in a String and the back end seems to fail if there is a newline in a text fields value. If the PreparedStatement and setString work with newlines then I can look into using that. I need to get a resultSet back, though, so I can figure out what the record OID is of the record I just inserted. Ken Ken Kachnowich wrote: > > Is there a method that could be used to insert Strings containing > newline charaters using the JDBC interface? I could replace them > with some character before the insert but what would be a good > character to use? > > Thanks, > > Ken
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера