-->
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.  [ 6 posts ] 
Author Message
 Post subject: Hibern8IDE : How to save graph modifications
PostPosted: Thu Oct 28, 2004 3:03 pm 
Beginner
Beginner

Joined: Fri Mar 12, 2004 8:40 pm
Posts: 30
Location: SF Bay Area
Does Hibern8IDE have a configuration file that the changes made
to the graph can be saved?

Also is there a way to assign a package name to a graph ... so
that instead of seeing :

com.something.somethingelse.hibernate.beans.Employee

you can see Employee only?

BTW, was the graph supposed to be a first step toward a functionality?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 29, 2004 1:32 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
In the Hibernate Console (the new name) version that is found in cvs have a toggle saying "Use package names" (or not)

There is not a "save graph position" feature.

And the graph was more a "hey - see this, do you like ?" feature ;)

Please note: we are working on a eclipse plugin version of this

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: New features ?
PostPosted: Sat Oct 30, 2004 5:14 pm 
Newbie

Joined: Fri Oct 29, 2004 4:36 pm
Posts: 2
Are there new features planned for the plugin version (or console) ?
I am currently working on a project heavily OO and Hibernate has been a great help. The problem we are facing is that the requester we use to explore the database is not adapted to our needs. Retrieving information in the database is painfull and require multiple joins. I installed Hibern8IDE last week and I was thinking about adding a new page to the 1.0 version. The goal is to provide object exploration capabilities. This explore page represent graphs of packages containing the mapped classes.
From the mapped classes you can associate a request to filter the number of instances you are interested in, and then starting from an instance you can expand the attributes and navigate through them recursively.
Are you working on this kind of feature?
If not, are you interested in?
Let me know.
Regards


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 30, 2004 5:29 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
is it any difference than from the object graph (acutally a tree) in the cvs version of Hibernate Console (which is its new name) ?

The object graph allow you to select an instance in the result table and show the data for this graph and blue nodes designate stuff that is proxied (not yet fetched/materialized)

Contributions and ideas are very welcome.

The eclipse plugin will have the basic stuff as there is now, and we will start focusing on providing "mapping helping" features to the plugin (more developtime support than runtime exploration).

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Console test
PostPosted: Thu Nov 04, 2004 1:07 pm 
Newbie

Joined: Fri Oct 29, 2004 4:36 pm
Posts: 2
Hi, Max

I installed and tested the console version and … yes, the object graph (actually a tree, and I think, it should be kept as a tree) is what I was looking for (good job!). BTW, some remarks :

1) I wanted to test the object graph in “real conditions” (not “hello world” conditions). So I used Console with the project I am working on actually (H2.1.4). This project is totalling ~40 mapping files for ~150 persistent objects. To achieve the test, I had to migrate all these files. Not a tremendous work : I just had to change the name of the hibernate mapping dtd file, but… The problem (from my point of view), is that the Console is too tied to Hibernate : tied to Hibernate is normal (Console was made for it) but tied to one version of Hibernate is a pity. The life cycle of Hibernate and Console are not the same.

To use the Console we need to upgrade from Hibernate2 to 3 (Hibernate3 will be alpha, beta, RC for a few months). Then real projects can’t benefit from Console while Hibernate3 is not ready for production. And actual projects will not necessarily migrate from H2 to H3 even if H3 is ready for prod.

AFAICS, using the GOF design patterns Fa


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 04, 2004 4:05 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
There exist 2 version of Hibernate console!

One in v21branch for H2 and the one in head is for H3.

Putting a "facade" in to support both "strains" were considered, but too cumbersome compared to the easy string replace that could be done (at that time)

So H2 is covered with current functionallity IMHO.

Further enhancements will be done in thread with H3 because that is what we want to have better tool support for.....H2 is covered - we probably just need to make an official release of the Hibernate Console for H2.

Your issues with persistent maps i look forward to hear more about - the console just do whatever a normal application will do.....so it should work :)

Regarding the patches to the gui then I would appreciate to get a patch for it + a screenshot to see what it looks like :)

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 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.