facebook

[Closed] Edit Database and Derby Tables

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

    bobcoss
    Member

    I was working on the WebStock tutorials and wanted to create tables using a lightweight database, so I installed Apache Derby and the Derby Eclipse Plugin. It seems to be working ok in that I can add the Derby nature to my project, start up the server, add tables and query using the ij interface.

    I noticed however that I cannot use the database explorer “edit table” feature of ME. I get an error message that says:

    Error: Can’t edit: the result set is not updatable.

    I can run queries that show me the data that I inserted by hand, but not use the editor.

    I did verify that the ME database explorer option for “autocommit” is turned on.

    I’m using the Eclilpse 3.1, and ME 4.1.

    Thank you in advance for your support.

    Bob

    #247862 Reply

    Riyad Kalla
    Member

    Bob,
    We’ll look into it.

    #247880 Reply

    Haris Peco
    Member

    Bob,

    Derby jdbc driver doesn’t support updatable result set – MyEclipse support editing for updatable resultset only. This can be changed in futures releases.You can try IBM universal driver

    Best

    #247885 Reply

    Haris Peco
    Member

    Bob,

    I have tried IBM universal drivers for derby and it doesn’t support updatable result sets, too
    You can’t use ‘edit data’ with Derby, for now

    Best

    #247886 Reply

    bobcoss
    Member

    Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: [Closed] Edit Database and Derby Tables

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