Re: Tapestry 5.1 + Spring 2.06 + Oracle 11g has problem on handling non english encoding

2011-11-17 Thread Thiago H. de Paula Figueiredo
On Wed, 16 Nov 2011 23:57:00 -0200, wesleywj2 wesley...@yahoo.co.uk  
wrote:



hi,


Hi!

However, when i insert chinese character into text field, and try to  
insert

it, it throws
CallableStatementCallback; uncategorized SQLException for SQL [{call
TESTPROC(?)}]; SQL state [9]; error code [17004]; Invalid column  
type;

nested exception is java.sql.SQLException: Invalid column type


This looks like a pure JDBC/database error, not a Tapestry one. By the  
way, Tapestry already uses UTF-8 by default.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry 5.1 + Spring 2.06 + Oracle 11g has problem on handling non english encoding

2011-11-17 Thread wesleywj2
hi thiago,

thanks for the prompt reply, it really is jdbc problem, i resolved it.
thanks

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-5-1-Spring-2-06-Oracle-11g-has-problem-on-handling-non-english-encoding-tp4999736p5002293.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Tapestry 5.1 + Spring 2.06 + Oracle 11g has problem on handling non english encoding

2011-11-16 Thread wesleywj2
hi,

currently my development are using 

T5.1 integrate with Spring 2.06 and using spring's StoredProcedure to
perform db operations in Oracle.
the container is Tomcat 6.0.29.

I set the meta tag to UTF-8 for all .tml pages, the chinese character
rendered correctly. 
On the database test, created a table with NVARCHAR2, test stored the
character also worked correctly.

However, when i insert chinese character into text field, and try to insert
it, it throws 
CallableStatementCallback; uncategorized SQLException for SQL [{call
TESTPROC(?)}]; SQL state [9]; error code [17004]; Invalid column type;
nested exception is java.sql.SQLException: Invalid column type

i'm sure db is working fine on storing and viewing the data, but other than
that what do i need to set?
am i missing something? please advice

wesley

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-5-1-Spring-2-06-Oracle-11g-has-problem-on-handling-non-english-encoding-tp4999736p4999736.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org