PostgreSQL float8
PostgreSQL float8
- Subject: PostgreSQL float8
- From: Michael Gargano <email@hidden>
- Date: Fri, 25 Mar 2011 14:50:54 -0700
- Acceptlanguage: en-US
- Thread-topic: PostgreSQL float8
Hi all,
I'm using an attribute in my model with a prototype of doubleNumber, this is set to use a DB type of float8. When I generate the migration it uses .newDoubleColumn with broken precision and scale numbers (since the prototype doesn't have these fields). Trying to use newDoubleColumn or even newColumn with Types.DOUBLE or Types.FLOAT does not seem to work. A column gets created, but when my update script runs and tries to insert data into that table it complains about the numerical values I'm trying to insert claiming the field type is 'money'. I saw an earlier e-mail to the list about this, but no resolution, but someone must be using doubles and postgres somewhere.
Thanks.
-Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden