Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Re: Encoding isssues Running .sql from java class through ANT

Andrew Goktepe

2008-05-11

Replies: Find Java Web Hosting

Author LoginPost Reply
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@(protected)>
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@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.