Re: Unable to create triggers via jdbc. Tried so many anythings. Please help.

Поиск
Список
Период
Сортировка
От Hannes Erven
Тема Re: Unable to create triggers via jdbc. Tried so many anythings. Please help.
Дата
Msg-id 539F0931.4070807@erven.at
обсуждение исходный текст
Ответ на Unable to create triggers via jdbc. Tried so many anythings. Please help.  (Coffee GoesToSchool <coffeegoestoschool@gmail.com>)
Список pgsql-jdbc
Hi,


 > I am unable to create functions via postgres jdbc. It seems that the
 > driver strips out newlines and semi-colons, resulting in syntax
 > errors rejected by the db.

Since this appears to be an ANT task and $ has a special meaning for it,
have you tried setting "expandproperties" to "false"?
http://ant.apache.org/manual/Tasks/sql.html

Maybe there is also some other way to tell ANT to treat that $$ signs as
verbatim (perhaps
http://stackoverflow.com/questions/2631082/escaping-a-dollar-in-the-middle-of-an-ant-property
).


-hannes


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Herouth Maoz
Дата:
Сообщение: Re: Unable to create triggers via jdbc. Tried so many anythings. Please help.
Следующее
От: Jim Gray
Дата:
Сообщение: Suspected JDBC bug