hebrew and postgre

Поиск
Список
Период
Сортировка
От Shay
Тема hebrew and postgre
Дата
Msg-id 01cf01c1bed6$4d127aa0$8900000a@shaybhome
обсуждение исходный текст
Список pgsql-jdbc
hello,

i am trying to write and read from and to postgre,
i am able to do this through PG Explorer, but when i try this code through
JDBC and Jboss it failes:

java.sql.Statement st = connection.createStatement();
java.sql.ResultSet rs = st.executeQuery("SELECT * FROM users where
name='hebrew letters here'");
while(rs.next()) {
    System.out.print("Column 1 returned ");
    System.out.println(rs.getString("name"));
}
rs.close();
st.close();

for some reason the result set is empty altough the PG Explorer can find it

can you help?

thanks ahead,
    Shay.


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

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: SET TRANSACTION ISOLATION LEVEL
Следующее
От: Rafael Hancke
Дата:
Сообщение: PGSQL-JDBC DRIVER