| How to view tables, stored procedure etc in DTP [message #490096] |
Wed, 07 October 2009 06:15  |
No real name Messages: 8 Registered: September 2009 |
Junior Member |
|
|
Hi Guys,
I have installed eclipse galileo 3.5 for j2ee. I have installed and configure mysql database in eclipse too. I pinged the database and connected successfuly.
I can create database and create tables etc in sql scrapbook, but in database development prespective when go under the schemas then try to expand the folders for tables, user defined function, procedures etc found nothing.I can't see the tables I created under table folder.
I have took the screen shot and uploaded - Where you can see i can't expand the nodes of folder, procedure etc to see my tables etc.
Please tell me what I am doing wrong or missing some thing.
Thanks
|
|
|
| Re: How to view tables, stored procedure etc in DTP [message #490200 is a reply to message #490096] |
Wed, 07 October 2009 15:03   |
Brian Fitzpatrick Messages: 495 Registered: July 2009 |
Senior Member |
|
|
Can you tell us what database you're using, what profile wizard you used
(i.e. generic JDBC, or something else), and what JDBC driver you're using?
--Fitz
virkjay@hotmail.co.uk wrote:
> Hi Guys,
>
> I have installed eclipse galileo 3.5 for j2ee. I have installed and
> configure mysql database in eclipse too. I pinged the database and
> connected successfuly.
> I can create database and create tables etc in sql scrapbook, but in
> database development prespective when go under the schemas then try to
> expand the folders for tables, user defined function, procedures etc
> found nothing.I can't see the tables I created under table folder.
> I have took the screen shot and uploaded - Where you can see i can't
> expand the nodes of folder, procedure etc to see my tables etc.
>
> Please tell me what I am doing wrong or missing some thing.
>
> Thanks
|
|
|
|
|
|
| Re: How to view tables, stored procedure etc in DTP [message #493124 is a reply to message #491498] |
Fri, 23 October 2009 05:58   |
Jerry Merfeld Messages: 2 Registered: October 2009 |
Junior Member |
|
|
I am also having some difficulties with DTP 1.7.
Model Name: MacBook
Processor Name: Intel Core Duo
JDK: soylatte16-i386-1.0.3
Eclipse: Galileo Java EE IDE for Web Developers Build id: 20090920-1017
MySQL engine: 5.4.3-beta
MySQL 5.1 JDBC Driver: mysql-connector-java-5.1.10-bin.jar
No Real Name - After executing your sql script from the scrapbook, did you refresh the schema from your Data Source Explorer? I was able to see my newly created table after executing the script below.
CREATE TABLE newtable (
id INT NOT NULL,
column2 VARCHAR(50) NOT NULL,
PRIMARY KEY (id)
);
Fitz - I was hoping I could generate sql by editing the contents of my "scrapbook" from the SQL Query Builder but SELECT, INSERT, UPDATE, and DELETE are the only statement types available.
I'm connected to the database as 'root'. Is CREATE not an option?
Thanks!!! 
- Jerry
[Updated on: Fri, 23 October 2009 05:59] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: How to view tables, stored procedure etc in DTP [message #1029446 is a reply to message #1028507] |
Fri, 29 March 2013 14:01  |
sumit mondal Messages: 2 Registered: March 2013 |
Junior Member |
|
|
Tom Adam
Hi,
The same problem happens, if the JDBC connection string does not contain the schema name.
So, if the JDBC connection string is only like:
jdbc:mysql://[server_name]:3306/
instead of
jdbc:mysql://[server_name]:3306/[schema_name]
than Eclipse shows no tables neither in Database Explorer, nor in JPA table generation.
Hope, this could help some of U, guys!
I already tried all this thing but nothing happened.......
Please give some suggestion..........
|
|
|
Powered by
FUDForum. Page generated in 0.02242 seconds