Export to GitHub

db2php - issue #11

Can't generate entity objects for the same DB twice


Posted on Mar 3, 2010 by Helpful Dog

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.

Comment #1

Posted on May 31, 2011 by Swift Rabbit

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.

Comment #2

Posted on Jan 13, 2012 by Grumpy Horse

should be fixed

Status: Fixed

Labels:
Type-Defect Priority-Medium