Re: JDBC: Losing precision when mapping doubles from Java

2001-10-30 Thread Roland
> Hello, > I'm losing precision when I send a double to a mysql database from a Java > program trough JDBC. > Code: > stmt.setDouble(i+3,((Double)value).doubleValue()); > Ok, the problem was solved after I updated my MM.MySQL driver to the newest version. Here you can get it: http://www.then

Re: JDBC: Losing precision when mapping doubles from Java

2001-10-27 Thread TAKAHASHI, Tomohiro
Hi, Document and License is included in gweMysqlJDBC_extra3.zip. It is Free. Thanks. P.S. I have sent e-mail to 'www.gwe.co.uk' admin 1 year ago. But They have not replyed me. ;-) Roland wrote: > > > Hi, Roland > > > > Try my JDBC Driver. > > > >http://www.t3-jpn.com/jdbc/jd

Re: JDBC: Losing precision when mapping doubles from Java

2001-10-26 Thread Roland
> Hi, Roland > > Try my JDBC Driver. > >http://www.t3-jpn.com/jdbc/jdbcmysql.html >http://www.t3-jpn.com/jdbc/download/gweMysqlJDBC_extra3.zip > > Thanks. Hello, thanks for the quick answer. Your page has a link to: http://www.gwe.co.uk/ which is not working. Is there some information

Re: JDBC: Losing precision when mapping doubles from Java

2001-10-26 Thread TAKAHASHI, Tomohiro
Hi, Roland Try my JDBC Driver. http://www.t3-jpn.com/jdbc/jdbcmysql.html http://www.t3-jpn.com/jdbc/download/gweMysqlJDBC_extra3.zip Thanks. Roland wrote: > > Hello, > I'm losing precision when I send a double to a mysql database from a Java > program trough JDBC. > Code: > stmt

JDBC: Losing precision when mapping doubles from Java

2001-10-26 Thread Roland
Hello, I'm losing precision when I send a double to a mysql database from a Java program trough JDBC. Code: stmt.setDouble(i+3,((Double)value).doubleValue()); I use a prepared statement. Now, if I print out the double in java before sending it to the MySql database this is what it looks

JDBC: Losing precision when mapping doubles from Java

2001-10-19 Thread Roland
Hello, I'm losing precision when I send a double to a mysql database from a Java program trough JDBC. Code: stmt.setDouble(i+3,((Double)value).doubleValue()); I use a prepared statement. Now, if I print out the double in java before sending it to the MySql database this is what it looks like: 127