logo       


Re: Float value at Oracle: msg#00478

Subject: Re: Float value at Oracle
Ok Sven, I´ll try to find out. 

Tks for your help.



On 8/24/05, Sven Boden <list123@xxxxxxxxxx> wrote:
> 
> Assuming now it's about "valorLimiteSuperiorFaix"... print out the
> value from it right before "insert("inserirFaixaLimiteCampanha",
> faixa);".
> 
> Something as:
>    System.out.println(faixa.getValorLimiteSuperiorFaixa());
> 
> If that doesn't show a truncated value, I can't help you without much
> more information.
> 
> Further steps are usually to activate debugging in iBATIS and see what
> gets passed around.
> 
> Last step is usually stepping through the code with a debugger and
> seeing which component truncates the Float. iBATIS is known to work
> with Oracle (even at 2.0.6) so it's probably somewhere in your own
> code. But unless you can simulate the problem with a small reduced
> example this is something you have to do on your own.
> 
> Regards,
> Sven
> 
> P.S. if you're at 2.0.6 I would suggest to migrate directly to 2.1.5
> 
> On Wed, 24 Aug 2005 16:26:58 -0300, you wrote:
> 
> >Sven,
> >
> >This file attached has the XML mapping and the java code. I try to
> >user hashMap and the parameterClass (FaixaLimite) and both didn´t
> >work.
> >
> >The release that I´m using is 2.0.6.
> >
> >tks
> >
> >
> >
> >
> >
> >On 8/24/05, Sven Boden <list123@xxxxxxxxxx> wrote:
> >>
> >> Renato,
> >>
> >> You're not giving much to work with... which version of iBATIS do you
> >> use? Can you possibly upgrade to 2.1.5. and try that. Can you supply
> >> the piece of java code you use + your maps.
> >>
> >> Regards,
> >> Sven
> >>
> >>
> >> On Wed, 24 Aug 2005 15:34:00 -0300, you wrote:
> >>
> >> >Sven,
> >> >
> >> >The first one is not because the insert made using sqlplus is working 
> >> >fine.
> >> >
> >> >I´m passing the float value using the Float wrapper. And it´s not
> >> >working. Do you think that this problem have anything to do with a old
> >> >version of Ibatis, because in this project we are using an old one?
> >> >
> >> >tks.
> >> >
> >> >
> >> >
> >> >
> >> >On 8/24/05, Sven Boden <list123@xxxxxxxxxx> wrote:
> >> >>
> >> >> Usually it's one of 2:
> >> >>
> >> >> - check your table definition in Oracle whether the column you insert
> >> >> to can contain a decimal part. Try to insert a decimal value via
> >> >> SQL*Plus e.g. ... if that doesn't work that's the error.
> >> >>
> >> >> - Maybe you're using Integers to pass parameters to iBATIS which would
> >> >> cut your decimal part, but that would require some more information
> >> >> from you: maps, pieces of java code.
> >> >>
> >> >> Regards,
> >> >> Sven
> >> >>
> >> >> On Wed, 24 Aug 2005 15:19:20 -0300, you wrote:
> >> >>
> >> >> >I´m trying to insert some decimal values in a table at oracle
> >> >> >database. But the decimal part of the value is not recorded.
> >> >> >
> >> >> >Like if try to record 325.34 the value that is recorded is 325 only
> >> >> >the integer part. How can i solve this problem?
> >> >> >
> >> >> >
> >> >> >tks
> >> >>
> >> >>
> >>
> >>
> 
>



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe