albankora / db2php

Automatically exported from code.google.com/p/db2php
GNU General Public License v3.0
0 stars 0 forks source link

Can't generate entity objects for the same DB twice #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I've ran into this small bug a couple of times. I'll leave the bug 
template and fill in the fields. I hope you'll get back to the project 
some day, I still think this is a great plugin.

What steps will reproduce the problem?
1. Generate the objects for a database as normal
2. Delete all the generated DB2PHP objects
3. Try to generate the objects again

What is the expected output? What do you see instead?
You'd expect to be able to generate the objects again, but the plugin 
can't connect to the database, it says "No tables found". Other databases 
work fine, but I have to restart Netbeans to get it to work for the first 
database.

What version of the product are you using? On what operating system?
Latest version of DB2PHP, first Netbeans 6.7 and now 6.8. Windows Vista 32-
bit.

Please provide any additional information below.
I am using MySQL databases.

Original issue reported on code.google.com by baskooij...@gmail.com on 3 Mar 2010 at 1:04

GoogleCodeExporter commented 8 years ago
It may be a problem with NetBeans holding the connection as open while it is 
not anymore so this plugin can not read any tables from the handle given by 
Netbeans.
Don't restart NetBeans. Instead go to Services (tab next to projects or 
Window-Services) and expand Databases. Disconnect from the database and try to 
use the plugin again, it should work now.

Original comment by dan...@come2u.eu on 31 May 2011 at 8:50

GoogleCodeExporter commented 8 years ago
should be fixed

Original comment by rc.poi...@gmail.com on 13 Jan 2012 at 8:29