This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 159458 - "RESTful Web Services from Entity Classes" fails on complex DB
Summary: "RESTful Web Services from Entity Classes" fails on complex DB
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-02 19:44 UTC by azirbes
Modified: 2015-04-20 13:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample Project Created from moderatly complicated database structure (114.55 KB, application/x-gzip)
2009-03-02 19:45 UTC, azirbes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description azirbes 2009-03-02 19:44:17 UTC
I have tried both "RESTful Web Services from Entity Classes" and "RESTful Web Services from Database", and Netbeans
either hangs, or stops even though many of the classes are unfinished.

This issue may be due to the number of entities being created, but the wizard doesn't allow me to do it in parts.  I am
able to create RESTful web services from just the entity tables, but once I add the relationship tables, the Wizard
hangs up and fails.

Example Project will be attached
Comment 1 azirbes 2009-03-02 19:45:13 UTC
Created attachment 77572 [details]
Sample Project Created from moderatly complicated database structure
Comment 2 azirbes 2009-03-02 20:42:07 UTC
It appears that after I increased my memory allocation for netbeans up to 2 GB (2048m), The wizard was able to
successfully complete.

Although this is a work-around, this tells me that this automation plug in is rather inefficient and a memory hog.  Some
improvements should be done regarding this. 
Comment 3 Jan Stola 2015-04-20 13:58:19 UTC
I am sorry, I am not able to reproduce this problem. If you are still able to reproduce it then feel free to reopen this issue but do not forget to provide an SQL script for the creation of the complex DB for which the generation fails. Thank you in advance.