facebook

Database Explorer and jTDS

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #212713 Reply

    Chris Parsons
    Participant

    I have managed to get a connection via jTDS to a SQL Server 2000 server but the database _name_ is being ignored – I always get a list of ALL the databases under the open connection node, is this the correct behaviour?

    The URL I use is ‘jdbc:jtds:sqlserver://servername/fred’, I know with some RDBMS systems you have to add ‘;database=fred’ to the server name but the docs for jTDS do not show this?

    Thanks

    Chris Parsons

    #212756

    Riyad Kalla
    Member

    Chris,
    I’m not sure about jTDS but with the SQL Server driver from MS you do need to specify the database name as arguments in the URL… have you tried this?

    #212827

    Chris Parsons
    Participant

    Yes, I believe the MS argument is ‘;databasename=fred’ but this doesn’t make any diffference – using the database name at the end of the URL works for a Java program, it’s just the database explorer that ignores it?

    Cheers

    Chris

    #212846

    Riyad Kalla
    Member

    Lemme check Chris.

    #215747

    Chris Parsons
    Participant

    Did you come to any conclusions?

    Thanks

    Chris

    #215752

    Riyad Kalla
    Member

    Jeez I am sorry for such a long delay, let me check with the DB guy. I must have never sent him an email about this. (I have no SQL server to test this with so I’m really in the dark).

    #215777

    support-jeff
    Member

    I suspect that it is like MySQL and does not support schemas, just catalogs, and the DatabaseMetaData.getCatalogs() call returns all available databases. You will have to live with it for only a few more days. ME 3.8.2 will allow you to specify only the schemas/catalogs/databases you wish to see.

    #216383

    Chris Parsons
    Participant

    Well,, I eagerly downloaded and installed 3.8.2 but alas this still does not resolve the above problem *sigh*

    I can specify the schema, namely ‘dbo’ and when I connect as a user with restricted database ownership the database list is also restricted – yahoo!

    But try and open a table – as soon as you click the table link the + symbol vanishes and no tables are listed 🙁

    You can specify ALL schemas and it works but this is the same behaviour as before!

    Chris

    #216459

    support-jeff
    Member

    Sounds like you have user privilege problems to over come. The functionality added should work if you have access to the system tables that provide info on what tables go with which schema/catalog. Sorry it won’t work for your situation.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Database Explorer and jTDS

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