-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Where is "Mapped Entities", "HQL Editor View&
PostPosted: Sat Oct 01, 2005 11:45 pm 
Newbie

Joined: Sat Oct 01, 2005 8:22 pm
Posts: 4
I configured eclipse3.1.0 with hibernate-tools-3.1.0.alpha5. There is 4 items in FILE->NEW->OTHER menu, these are:
1) Hibernate Artifact Generation
2) Hibernate Configuration File(cfg.xml)
3) Hibernate Console Configuration
4) Hibernate Reverse Engineering File(revenge.xml)

I can do following job: 2) new cfg.xml Configuration File, 3)new Console Configuration, 4)new Reverse Engineering File(revenge.xml), and with 1)Artifact Generation to generate mapping xml and java POJO code.

When I hit [Open Perspective] -> [OTHER] -> [Hibernate Console],
the console's name appears. After I create a sessionFactory with right mouse click and expend the console, there are only 3 items in it:
Configuration,Session factory and Database, I can browse the database but there is no "Mapped Entities" and "HQL Editor View".

What's wrong with me ?

My environment is
Windows XP
jdk1.5
Hibernate version: 3.1.0M6 (and MyEclipse 4.00GA)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 02, 2005 2:49 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
expand the configuration and sessionfactory and you should see what normally is under "mapped entitities" (right now they have similar functionallity...but their underlying representations are different...before final one of them will probably be removed or moved to another view)

HQL Editor view is replaced by the HQL Editor (as mentioined in new and noteworthy) and are accessed by clicking the hql editor icon when a configuration is selected.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 05, 2005 12:50 pm 
Newbie

Joined: Wed Oct 05, 2005 12:48 pm
Posts: 2
What do you do if the HQL icon is grayed out. It seems to be impossible for me to open the HQL Editor. I'm not showing any errors in the event log.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 05, 2005 1:12 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
you need to click the Configuration node....will be improved

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 05, 2005 1:19 pm 
Newbie

Joined: Wed Oct 05, 2005 12:48 pm
Posts: 2
That worked. I thought I had clicked everywhere but didn't try clicking on the overall console configuration node.

Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.