Re: iBatis with MySQL and UTF-8 encoding

2009-03-20 Thread Graeme J Sweeney
On Thu, 19 Mar 2009, Paweł Gutowski wrote: mysql-connector-java-5.1.7 What could be wrong? Are you using 'useUnicode=yescharacterEncoding=UTF8' in the connection URL? -- Graeme -

Re: iBatis with MySQL and UTF-8 encoding

2009-03-20 Thread Artur Mkrtchyan
try to use entities e.g. -amp; useUnicode=yesamp;characterEncoding=UTF8 2009/3/20 Graeme J Sweeney ibatis.u...@gjsweeney.com On Thu, 19 Mar 2009, Paweł Gutowski wrote: mysql-connector-java-5.1.7 What could be wrong? Are you using 'useUnicode=yescharacterEncoding=UTF8' in the

RE: Cannot serialize session attribute ...

2009-03-20 Thread Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2
What does that mean, set reference to it transient? -Original Message- From: Nicholoz Koka Kiknadze [mailto:kikna...@gmail.com] Sent: Thursday, March 19, 2009 3:30 PM To: user-java@ibatis.apache.org Subject: Re: Cannot serialize session attribute ... My first thought is that maybe

Re: Cannot serialize session attribute ...

2009-03-20 Thread charlie bird
Alternatively you could disable session serialization completely by adding the following line to your tomcat application xml: Manager pathname=/ Only if you're not bothered about retrieving the sessions on restart of course --- On Fri, 20/3/09, Kengkaj Sathianpantarit kengka...@gmail.com

RE: Cannot serialize session attribute ...

2009-03-20 Thread Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2
Here's my concern: Let's say that I am running two instances of Tomcat in a cluster: Server A and Server B. While a user is in the web application on Server A, Server A goes down. I need for Server B to have all of the session information for the user that Server A had, so the user will not

Re: Cannot serialize session attribute ...

2009-03-20 Thread Kengkaj Sathianpantarit
Mark transient in declaration - transient StandardDaoManager standardDaoManager; Kengkaj On Fri, Mar 20, 2009 at 6:13 PM, Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2 jonathan.leffingwell@navy.mil wrote: What does that mean, set reference to it transient? -Original Message-

Re: iBator CommentGenerator: Java Model Class with database column comment

2009-03-20 Thread Jeff Butler
Interesting idea. Ibator does not currently capture database field comments from the metadata, so there's no simple way to do this now. It's a relatively simple change to add it. I'd need to change the CommentGenerator interface to expose it - hopefully that won't cause too much trouble for

Re: iBatis with MySQL and UTF-8 encoding

2009-03-20 Thread Paweł Gutowski
Yeah, thanks! Concating: ?useUnicode=yesamp;characterEncoding=UTF8 after the database URL helped :) W dniu 20 marca 2009 09:53 użytkownik Artur Mkrtchyan mkrtchyan.ar...@googlemail.com napisał: try to use entities e.g.  -amp; useUnicode=yesamp;characterEncoding=UTF8 2009/3/20 Graeme J

Re: Cannot serialize session attribute ...

2009-03-20 Thread Nicholoz Koka Kiknadze
I have never used tomcat clustering, but it sounds to me reasonable that disabling persisting sessions upon tomcat exit has nothing to do with clustering. However, in order to replicate session object in clustered environment the session object *has to be* serializable. So, imho, any reference to

Re: iBator CommentGenerator: Java Model Class with database column comment

2009-03-20 Thread Jeff Butler
Support for this is now available in SVN. Jeff Butler On Fri, Mar 20, 2009 at 6:57 AM, Jeff Butler jeffgbut...@gmail.com wrote: Interesting idea. Ibator does not currently capture database field comments from the metadata, so there's no simple way to do this now. It's a relatively simple

Re: iBator CommentGenerator: Java Model Class with database column comment

2009-03-20 Thread Nicholoz Koka Kiknadze
Wow, took less than 24 hours ;). On Fri, Mar 20, 2009 at 5:23 PM, Jeff Butler jeffgbut...@gmail.com wrote: Support for this is now available in SVN. Jeff Butler On Fri, Mar 20, 2009 at 6:57 AM, Jeff Butler jeffgbut...@gmail.com wrote: Interesting idea. Ibator does not currently

Cache does not flush when mappings are loaded through SqlMapClientFactoryBean

2009-03-20 Thread Jatan Porecha
When I configure *iBATIS* sql maps to get loaded through SqlMapClientFactoryBean the chache models are not loaded properly. I have confiugred my *iBATIS* SQL Map config and sql map files as following, bean id=sqlMap class=org.springframework.orm.ibatis.SqlMapClient FactoryBean property

Oracle11g question .

2009-03-20 Thread Sergey Livanov
I installed Oracle11g and can not set up driverClassName and url parameters of connection. Help me please, who install already please. ( I downloaded ojdbc5.jar and orai18n. ) NLS_LANG=UKRAINIAN_UKRAINE.CL8MSWIN1251 error : java.lang.NoSuchMethodError:

Re: Oracle11g question .

2009-03-20 Thread Sergey Livanov
driver , url, user pwd. jdbc.ORAdriverClassName=oracle.jdbc.driver.OracleDriver jdbc.ORAurl=jdbc:oracle:thin:@192.168.1.15:1521:ORCL jdbc.ORAusername=servers jdbc.ORApassword=servers 2009/3/21 Sergey Livanov sergey.liva...@gmail.com I installed Oracle11g and can not set up driverClassName and