facebook

Data type error in Edit data

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #262956 Reply

    apa64
    Member

    I got an error about invalid data type while trying to update a row in the Database Explorer’s Edit data view. The column type is bigint but it seems that the DB Explorer is trying to update it with varchar value even though I input a number.

    The database is PostGreSQL 8.0, my driver is postgresql-8.1-407.jdbc3.jar and the error message was:
    “Error updating: ERROR: column “fk_…” is of type bigint but expression is of type character varying”

    #262957 Reply

    apa64
    Member

    …and the Eclipse version is 3.2.1 and the MyEclipse version is 5.1.0 GA.

    #262967 Reply

    Haris Peco
    Member

    apa64,

    Could you send ddl for table (right click and call Generate>DDL) and what you type to this column

    Thanks,

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Data type error in Edit data

You must be logged in to post in the forum log in