|Changes to GenericJpaPlatformUi from eclipse 3.4 [message #1809046]
||Mon, 08 July 2019 05:58
| Vinay Kumar T
Registered: June 2019
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:
Please provide your inputs on how to go ahead.
Powered by FUDForum
. Page generated in 0.02571 seconds