• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with Java and Sybase

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
 
author
Posts: 4335
39
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 4335
39
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 4335
39
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic