To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72582
                 Issue #|72582
                 Summary|can't insert or update into money fields with postgres
                        |ql & jdbc
               Component|Database access
                 Version|OOo 2.0.4
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|none
             Assigned to|dbaneedsconfirm
             Reported by|bryancole





------- Additional comments from [EMAIL PROTECTED] Thu Dec 14 08:43:44 -0800 
2006 -------
OO-Base will not allow any inserts or updates to database fields of either the
'money' or 'numeric' data types, when using JDBC to connect to a postgresql DB.
I've tried both the 8.1 and 8.2 jdbc drivers. I'm using Sun JRE 1.5.0_9.

For a numeric field, the error dialog says:

ERROR: column "xxx" is of type numeric but expression is of type character 
varying

I get a similar error with 'money' fields. Basically, it's impossible to handle
currency with JDBC and postgresql.

The table data types appear correctly identified if I open the Edit Table
dialog. This appears to be over zealous type checking on the part of OOo. I can
insert or update stuff by executing SQL statements in the "SQL..." dialog.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to