telosystools

Open full view…

Links in a large schema

caclark
Thu, 03 Dec 2015 22:28:02 GMT

We have a large schema. Even using the exclusion regex, I still see ~650 tables. We have a lot of RI on the tables. I have generated the web controller from a template that I made for a JSF managed bean. I generated the JPA entity using the persistence-springdatajpa-TT210 templates. I don't like the associated entity names (this table reference another twice for user id integrity so it's users and users2). In the repository editor, when I switch to "Links between entities" tab, it just sits there for a bit and shows an empty panel. After waiting for several minutes, I can click the "Entities mapping and generation" tab, but the UI becomes unresponsive and Eclipse shuts down. I'm running Spring Tool Suite 3.7.2.

caclark
Thu, 03 Dec 2015 22:29:34 GMT

I just cycled Eclipse and it does switch back to "Entities mapping and generation" from the blank "Links between entities"...but I still cannot see any links.

Telosys Team
Fri, 11 Dec 2015 10:55:36 GMT

Could you please send us your ".dbrep" file in order to allow us to identify the problem ? ( you can send it to [email protected] )

caclark
Fri, 11 Dec 2015 14:19:34 GMT

email sent...

Telosys Team
Mon, 18 Jan 2016 09:33:23 GMT

The problem has been identified, it's a bug in the Eclipse Plugin due to a bad resource management. It occurs only with very big ".dbrep" file. We'll try to fix it...

caclark
Mon, 18 Jan 2016 14:36:18 GMT

Thanks. I'd love to show the plugin to my boss and coworkers and this would help a lot.

caclark
Tue, 16 Feb 2016 22:06:40 GMT

Any update on this?

Telosys Team
Wed, 17 Feb 2016 10:05:52 GMT

Finally it's not really a bug (not a resource management error). You have 1804 links in your model (it's a lot), the error ("No more handles") is due to the number of SWT Controls created. The only way to solve this problem is to reduce the number of controls in the window, for example by using a simple List or a TreeView. But it's a big change, so it won't be ready quickly :-(

caclark
Thu, 18 Feb 2016 14:47:07 GMT

Can you create some smaller UI change that would allow me to edit the foreign key and link settings for a given table?