Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Changes to GenericJpaPlatformUi from eclipse 3.4(Facing issues in adopting form eclipse 3.3 to 3.4 )
Changes to GenericJpaPlatformUi from eclipse 3.4 [message #1809046] Mon, 08 July 2019 05:58
Vinay Kumar T is currently offline Vinay Kumar TFriend
Messages: 1
Registered: June 2019
Junior Member
Hi All,

In eclipse 3.3 we were using the following code to create a GenericJpaPlatformUi instance and call generateEntities() method which was working fine :

GenericJpaPlatformUi newPlatform = new GenericJpaPlatformUi(new GenericJpaUiFactory(), new GenericNavigatorProvider(),
JavaResourceModelStructureProvider.instance(), PersistenceResourceModelStructureProvider.instance(), GenericJpaPlatformUiProvider.instance());




But from eclipse 3.4 there were some changes made to this to adopt to jdk 8 as below:

GenericJpaPlatformUi newPlatform = new GenericJpaPlatformUi( new SimpleItemTreeStateProviderFactoryProvider(null, null) ,GenericJpaPlatformUiProvider.instance());

which is not working as expected. On analysis we found that passing null values is causing issue.
As we can see there are many parameters removed from the previous version and replaced by one (SimpleItemTreeStateProviderFactoryProvider) . Please guide me on how to approach.
We are trying to call entity generation wizard as follows after this:
newPlatform.generateEntities(jpaProject, forcedSelection);

Please provide your inputs on how to go ahead.

Thanks
Previous Topic:PAHOMQTT instal on Raspberry Pi
Next Topic: Eclipse Community Forums
Goto Forum:
  


Current Time: Thu Apr 25 12:48:30 GMT 2024

Powered by FUDForum. Page generated in 0.09468 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top