ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Goktepe" <andrewgokt...@gmail.com>
Subject Re: Encoding isssues Running .sql from java class through ANT
Date Sun, 11 May 2008 19:19:40 GMT
Shivani,

Are you saying that the inserts are successful when using <sql> but
unsuccessful when using your Java class?

If both of the above methods are unsuccessful, have you tried inserting
without Java or Ant?  Another factor could be database configuration.

-Andrew

On Fri, May 2, 2008 at 12:40 AM, Kothari, Shivani <skothari@inteqnet.com>
wrote:

>
> Hi,
>
> I am executing .sql which has insert statements(with french characters)
> which requires (UTF/ISo* encoding). This .sql is executed from java class
> through ANT scripts. In the result ? is inserted in database instead of
> desired output é.
>
>
>
> I tried running the same .sql from ant <sqL> task passing encoding
> parameters. But due to deployment required I have to run this *.sql from
> java class which is executed during ANT scripts Execution.
>
>
> Let me know what should be done?
> Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message