Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with Java and Sybase

 
Bruno Pimenta
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java DataSource identify all the schemas of the database, but don't identify the tables.

Anyone had this roblem sometime? How can I solve it?

Thanks,
 
Scott Selikoff
author
Saloon Keeper
Posts: 4010
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're trying to read the table names/fields from the database, you should review the JDBC MetaData API: http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html
 
Bruno Pimenta
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is that I can't view the Tables of the schema in the DataSource of Eclipse. The DataSouce show de schemas, bot don't show the tables.

Thanks,
 
Scott Selikoff
author
Saloon Keeper
Posts: 4010
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Umm, how exactly is Eclipse showing you data sources, through some kind of admin console? Either way, most (all?) admin consoles will *not* show you the tables. That's what you have SQL clients for. Try searching google for a sybase sql client.
 
Bruno Pimenta
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The way that Eclipse show me is the default for it. Have some way different to make Eclipse show me my database?
Haw can I do it?
 
Paul Clapham
Sheriff
Pie
Posts: 20966
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bruno, I don't think Scott meant you were doing it the wrong way in Eclipse. I think he wanted to know how you were doing it in Eclipse because he didn't know of any way to do it. I might be wrong about that, but I think I'm right because I don't know how you use Eclipse to do it either. So... again... what do you do in Eclipse which shows you database schemas?
 
Scott Selikoff
author
Saloon Keeper
Posts: 4010
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounded like he was accessing his J2EE server inside an eclipse window. Either way, you should use a database SQL tool for sybase to access it directly.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic