- This topic has 7 replies, 2 voices, and was last updated 12 years, 8 months ago by support-swapna.
-
AuthorPosts
-
Andrew ChengParticipantcan not find the new JPA diagram editor?
I follow your instruction. it does not show up.
support-swapnaModeratorayc868,
Sorry that you are seeing this issue. I could not replicate the issue at my end.
1. Can you share the installation details from MyEclipse > Installation Summary > Installation Details ? Paste them here for us.
2. Can you please create a web project, right click on project > MyEclipse > “Add JPA capabilities” to it. Once the wizard finishes, now right click on project > MyEclipse and you should see the “Open JPA Diagram”.
Attached is the screenshot for you reference.
3. If you are still not able to see the option, then please attach the .log file which is located at <workspace dir>/.metadata/.log for us to investigate further.
Attachments:
You must be logged in to view attached files.
Andrew ChengParticipantWhy I don’t see add JPA capability at all.
However, I created another project, then I can see it.
How do I make up the existing project to add JPA capability?by the way, I use Hibernate.
support-swapnaModeratorayc868 ,
If your project already has Hibernate capabilities added then you cannot add JPA capabilities to it. If you want to add JPA Capabilities to it, then you have to manually remove the Hibernate capabilities and only then you will be able to add JPA capabilities to it.
To remove Hibernate capabilities, pop open your navigator view, you can erase your .myhibernatedata file, then open your .project file and remove the HibernateBuilder entry at the end of the build list, and remove the hibernatenature from the natures section. Save the file and close and reopen your project.
Let us know if you see any issues.
Andrew ChengParticipantI don’t want to remove Hibernate since that is my project.
I just need some kind of diagram for database.
JPA diagram is not bad.
What other option I can have?
support-swapnaModeratorayc868 ,
You can work with UML diagrams as an alternative.
Please refer to these tutorials on UML :
http://myeclipseide.com/documentation/quickstarts/uml_overview/
http://www.myeclipseide.com/documentation/quickstarts/uml2_overview/
http://www.myeclipseide.com/documentation/quickstarts/uml/Hope this helps.
Andrew ChengParticipantI don’t want to use editor to draw, and would like S/W generate for me.
Generate UML2 diagram has done a good job, but would like other diagram like JPA diagram.
support-swapnaModeratorayc868 ,
Apart from UML diagrams, the only other option available is to first remove the Hibernate capabilities from your project, add the JPA Capabilities and then add the Hibernate Capabilities back to the project. You can now see the option “Open JPA Diagram” in the project context menu.
These are the only options in MyEclipse for now, but you can also search if there are any third party plugins which are compatible with Eclipse and fit your requirement.
Sorry for inconvenience.
Hope this helps.
-
AuthorPosts