MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ayc868
Post subject: 10.1  PostPosted: Mar 31, 2012 - 02:15 AM
Veteran Member
Veteran Member


Joined: Apr 15, 2004
Posts: 182

can not find the new JPA diagram editor?
I follow your instruction. it does not show up.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Apr 02, 2012 - 05:37 AM



Joined: Nov 11, 2010
Posts: 2491

ayc868,

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.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
ayc868
Post subject: JPA diagram  PostPosted: Apr 02, 2012 - 06:42 PM
Veteran Member
Veteran Member


Joined: Apr 15, 2004
Posts: 182

Why 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.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Apr 03, 2012 - 07:39 AM



Joined: Nov 11, 2010
Posts: 2491

ayc868 ,

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.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
ayc868
Post subject:   PostPosted: Apr 03, 2012 - 07:20 PM
Veteran Member
Veteran Member


Joined: Apr 15, 2004
Posts: 182

I 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?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Apr 04, 2012 - 09:04 AM



Joined: Nov 11, 2010
Posts: 2491


_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
ayc868
Post subject:   PostPosted: Apr 04, 2012 - 05:49 PM
Veteran Member
Veteran Member


Joined: Apr 15, 2004
Posts: 182

I 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.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Apr 05, 2012 - 11:49 AM



Joined: Nov 11, 2010
Posts: 2491

ayc868 ,

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.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits