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.  [ 8 posts ] 
Author Message
 Post subject: Where could I download HibernateTool 3.2beta7?
PostPosted: Sun Aug 13, 2006 9:53 pm 
Senior
Senior

Joined: Wed Dec 17, 2003 4:24 am
Posts: 188
Hi friends!

I want to use Hibernatetool create a many-to-many mapping.But it can't do it. I mean that I want to create two java class and three tables. But HibernateTool current release don't support this ?! In JIRA, I had seen that HibernateTool 3.2beta7 can do many-to-many mapping. But I couldn't find the source that I can download the 3.2beta7 . Where could I download it? Thks!

_________________
You are not alone...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 14, 2006 3:52 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
tools.hibernate.org look under "How to build and contribute"

has instructions for getting it from source.

alternatively get the nightly builds.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: :(
PostPosted: Mon Aug 14, 2006 4:13 am 
Senior
Senior

Joined: Wed Dec 17, 2003 4:24 am
Posts: 188
max wrote:
tools.hibernate.org look under "How to build and contribute"

has instructions for getting it from source.

alternatively get the nightly builds.


Thank you . But I couldn't find the version 3.2beta7 . The changelog address is this? http://anonhibernate.labs.jboss.com/trunk/HibernateExt/tools/changelog.txt
In this changelog , I could see maybe the newest version is 3.1alpha5?
Code:
Hibernate Tools Changelog
=========================

Changes in version 3.1alpha5
----------------------------

* [HBX-365] - basic toString-Method
* [HBX-315] - Wrong java type chosen for CHAR(n) columns
l.............................................................................

_________________
You are not alone...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 14, 2006 4:17 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
head is the latest; the changelog is just not updated.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: how to use the new hibernate-tools.jar
PostPosted: Mon Aug 14, 2006 10:05 pm 
Senior
Senior

Joined: Wed Dec 17, 2003 4:24 am
Posts: 188
max wrote:
head is the latest; the changelog is just not updated.


Hi max:

I download the newest src and build it. I copy the jar to
Code:
eclipse\plugins\org.hibernate.eclipse_3.2.0.beta6a\lib\tools

I use jbosside2.0. My database have three tables:
table1:
Code:
table person{
id integer primary key;
name varchar;
}

table2
Code:
table address{
id integer primary key;
name varchar;
}

table3:
Code:
table person_address{
person_id;
address_id;
primary key(person_id,address_id);
}


When I use reverse engine ,I select these three table. I want to the tool create two java class and two hbm. And create a many-to-many mapping. But it create three java class and create two one-to-many mapping . How to create on many-to-many mapping using these three tables ?

_________________
You are not alone...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 15, 2006 2:54 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
as i've said a couple of times it was not exposed in the ui and thus you would have to control it via a custom reverse engineering class.

Anyhow I just committed and tagged beta7 and the latest integration build should contain this + it is now automatically enabled.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: :)
PostPosted: Tue Aug 15, 2006 4:01 am 
Senior
Senior

Joined: Wed Dec 17, 2003 4:24 am
Posts: 188
max wrote:
as i've said a couple of times it was not exposed in the ui and thus you would have to control it via a custom reverse engineering class.

Anyhow I just committed and tagged beta7 and the latest integration build should contain this + it is now automatically enabled.


Yes,I know. But ...
Could you give me a test reverse engineering class? Because I don't know how to coding a reverse engineering and invoke it in other class "main" method.

_________________
You are not alone...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 15, 2006 4:44 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
"Anyhow I just committed and tagged beta7 and the latest integration build should contain this + it is now automatically enabled."

_________________
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.  [ 8 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.