pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedIs a way avoiding the driver crash with unicode data?
2+ messages / 2 participants
[nested] [flat]
* Is a way avoiding the driver crash with unicode data?
@ 2005-04-29 05:28 Vernon <vwu725@yahoo.com>
2005-04-29 05:46 ` Re: Is a way avoiding the driver crash with unicode data? Oliver Jowett <oliver@opencloud.com>
0 siblings, 1 reply; 2+ messages in thread
From: Vernon @ 2005-04-29 05:28 UTC (permalink / raw)
To: pgsql-jdbc
The following exception occures when the select
statement is issued through the Hibernate. The table
contains some unicode data. After I remove one entry
with the data:
擦亮眼睛
哈达
拉帮结派
No exception occurs. No error message is in the PG log
file. How can I avoid such exception happend again?
org.springframework.jdbc.UncategorizedSQLException:
(Hibernate operation): encountered SQLException [An
I/O error occured while sending to the backend.];
nested exception is org.postgresql.util.PSQLException:
An I/O error occured while sending to the backend.
org.postgresql.util.PSQLException: An I/O error
occured while sending to the backend.
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:198)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:387)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:328)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:238)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at
net.sf.hibernate.impl.BatcherImpl.getResultSet(BatcherImpl.java:88)
at
net.sf.hibernate.loader.Loader.getResultSet(Loader.java:875)
at
net.sf.hibernate.loader.Loader.doQuery(Loader.java:269)
at
net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
at
net.sf.hibernate.loader.Loader.doList(Loader.java:1033)
at
net.sf.hibernate.loader.Loader.list(Loader.java:1024)
at
net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854)
at
net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1553)
at
net.sf.hibernate.impl.QueryImpl.list(QueryImpl.java:39)
at
org.springframework.orm.hibernate.HibernateTemplate$27.doInHibernate(HibernateTemplate.java:588)
at
org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:243)
at
org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:263)
at
org.springframework.orm.hibernate.HibernateTemplate.findByNamedParam(HibernateTemplate.java:582)
at org.springframework.orm.hibernate.HibernateTemplate.findByNamedParam(HibernateTemplate.java:570)
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Is a way avoiding the driver crash with unicode data?
2005-04-29 05:28 Is a way avoiding the driver crash with unicode data? Vernon <vwu725@yahoo.com>
@ 2005-04-29 05:46 ` Oliver Jowett <oliver@opencloud.com>
0 siblings, 0 replies; 2+ messages in thread
From: Oliver Jowett @ 2005-04-29 05:46 UTC (permalink / raw)
To: Vernon <vwu725@yahoo.com>; +Cc: pgsql-jdbc
Vernon wrote:
> The following exception occures when the select
> statement is issued through the Hibernate. The table
> contains some unicode data. After I remove one entry
> with the data:
>
> 擦亮眼睛
> 哈达
> 拉帮结派
>
> No exception occurs. No error message is in the PG log
> file. How can I avoid such exception happend again?
This looks like a backend crash, not a driver issue. What do the server
logs say?
-O
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-04-29 05:46 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-29 05:28 Is a way avoiding the driver crash with unicode data? Vernon <vwu725@yahoo.com>
2005-04-29 05:46 ` Oliver Jowett <oliver@opencloud.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox