Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Entity classes from database hangs when "retrieving the keys" from data source Netbeans/Hibernate

Inside Netbeans 8.0.2:

Steps: New File > Hibernate> Hibernate reverse engineering

Retrieval of the Tables and Views begin, gets to 98% and then hangs. It freezes on the same view OR the very next view.

I've tried on multiple machines - same result.

Is there a limit on the size of the input data - in the wizard? Or, maybe a problem with the database - itself?

This is VisualVS snapshot enter image description here

thanks

like image 611
davdomin Avatar asked Jul 07 '16 21:07

davdomin


2 Answers

One guess. Try increasing the heap size of Eclipse. Use the .ini file and increase the -Xmx and -Xms parameters. It is a pure guess, but who knows :)

Second suggestion :) You visualVM or yourkit or profiler whatever profiler you have. Then attach yourself to the Netbeans and then find out where exactly it is blocking. On which operation. Then We/You will know more about the nature of the error and how to resolve it :D

like image 186
Alexander Petrov Avatar answered Oct 16 '22 10:10

Alexander Petrov


I would recommend clean cache dir (details), after that read this topic and probably you should open a bug on netbeans bugzilla.

like image 2
Vladislav Kysliy Avatar answered Oct 16 '22 10:10

Vladislav Kysliy