Re: Floating point value always rounded when rendered in a collection

2017-04-26 Thread Jeroen van der Wal
Could you check the table structure of that specific table? Datanucleus can
automatically create new fields but never changes the scale, in the case
you have amended the scale in the application later.

As  a sidenote: we always develop using the in-memory database and use
fixtures to provide test and demo data. This allows any developer to work
on a codebase without setting up further dependencies.

Cheers,

Jeroen

On 25 April 2017 at 19:27, L Eder  wrote:

> Hi Jeroen, it is against disk-based MySQL v5.7.
>
> It is Win64 x86_64 (if that is what you mean for scale).
>
> Do you a tip on this issue?
>
> -
> -webapp module's pom.xml jdbc driver portion:
> "
> 
> jdbc-mysql
> 
> 
> !skip.jdbc-mysql
> 
> 
>
>
> 
> com.mysql
> mysql
> 5.1.40
> 
> 
> 
> "
>
>
>
> 2017-04-25 11:53 GMT-04:00, Jeroen van der Wal :
> > Hi Eder,
> >
> > Are you developing against the in-memory hsqldb database? If not, what
> does
> > the scale in your database look like?
> >
> > Cheers,
> >
> > Jeroen
> >
>


Re: Floating point value always rounded when rendered in a collection

2017-04-25 Thread L Eder
Hi Jeroen, it is against disk-based MySQL v5.7.

It is Win64 x86_64 (if that is what you mean for scale).

Do you a tip on this issue?

-
-webapp module's pom.xml jdbc driver portion:
"

jdbc-mysql


!skip.jdbc-mysql



   

com.mysql
mysql
5.1.40



"



2017-04-25 11:53 GMT-04:00, Jeroen van der Wal :
> Hi Eder,
>
> Are you developing against the in-memory hsqldb database? If not, what does
> the scale in your database look like?
>
> Cheers,
>
> Jeroen
>


Re: Floating point value always rounded when rendered in a collection

2017-04-25 Thread Jeroen van der Wal
Hi Eder,

Are you developing against the in-memory hsqldb database? If not, what does
the scale in your database look like?

Cheers,

Jeroen