-->
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.  [ 23 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: hbm2java and hibernate3
PostPosted: Wed Feb 16, 2005 10:50 am 
Beginner
Beginner

Joined: Thu Jan 20, 2005 3:25 pm
Posts: 22
Does the hibernate team has any plan to update hbm2java for hibernate3? Actually it would be really nice to have a tool to generate annotated java for hibernate3 using hbm.xml files... Any chances to see that?

Hd.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 16, 2005 6:44 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
We are building hbm2java for H3 actively at the moment with a beta available. Yes it is quite possible you will see annotation generation in the near future. First the annotations need to be finalised but we can work toward it before then. Don't ask when as there are other priorities at this point.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 17, 2005 6:42 am 
Beginner
Beginner

Joined: Thu Jan 20, 2005 3:25 pm
Posts: 22
david wrote:
We are building hbm2java for H3 actively at the moment with a beta available. Yes it is quite possible you will see annotation generation in the near future. First the annotations need to be finalised but we can work toward it before then. Don't ask when as there are other priorities at this point.


That sounds very exciting! In which package is hbm2java located? I searched for it and ended up hacking the previous version to work with hibernate3.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 17, 2005 8:35 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
the new and improved hbm2java is the POJOExporter and accompanying javaclass.vm.

Its in hibernateext/tools/src/....

the "classic" hbm2java will be removed in the near future.

we will also provide a better integrated set of ant tasks (http://opensource.atlassian.com/project ... se/HBX-112)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 27, 2005 4:55 am 
Regular
Regular

Joined: Thu Feb 17, 2005 1:58 am
Posts: 63
Hi Max,

Can you provide the link for the download? I could only find the hibernate extensions for Hibernate 2.x.

Thanks,
Hiber

max wrote:
the new and improved hbm2java is the POJOExporter and accompanying javaclass.vm.

Its in hibernateext/tools/src/....

the "classic" hbm2java will be removed in the near future.

we will also provide a better integrated set of ant tasks (http://opensource.atlassian.com/project ... se/HBX-112)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 27, 2005 5:19 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
tools.hibernate.org and it is under the downloads page too

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 29, 2005 3:41 am 
Regular
Regular

Joined: Thu Feb 17, 2005 1:58 am
Posts: 63
max wrote:
tools.hibernate.org and it is under the downloads page too


http://www.hibernate.org/6.html

I can't find the extensions :-( The tool ZIP does not contain it.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 29, 2005 4:06 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
huh ?

What is wrong with the hibernate tools alpha 1 link ?
http://sourceforge.net/project/showfile ... _id=141977

it works for me.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 30, 2005 12:48 am 
Regular
Regular

Joined: Thu Feb 17, 2005 1:58 am
Posts: 63
I can't find POJOExported and no hibernateext/tools/src/... either...


===
the new and improved hbm2java is the POJOExporter and accompanying javaclass.vm.

Its in hibernateext/tools/src/....

max wrote:
huh ?

What is wrong with the hibernate tools alpha 1 link ?
http://sourceforge.net/project/showfile ... _id=141977

it works for me.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 30, 2005 2:06 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
what are you downloading ?

The download (at the link above) is the binary.

to get the src you need to get it from cvs under hibernateext.

And to prove that it is really there go look in viewcvs:
http://cvs.sourceforge.net/viewcvs.py/h ... &view=auto

-max

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 01, 2005 3:34 am 
Regular
Regular

Joined: Thu Feb 17, 2005 1:58 am
Posts: 63
Well, I was trying to use HibernateTool3 Alpha1 with Eclipse to generate my PKs are primtives like int or long instead of Integer.

I know you mentioned java type mapper, but I have not idea where to put the configuration param.

Can you help with more details?

max wrote:
what are you downloading ?

The download (at the link above) is the binary.

to get the src you need to get it from cvs under hibernateext.

And to prove that it is really there go look in viewcvs:
http://cvs.sourceforge.net/viewcvs.py/h ... &view=auto

-max


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 01, 2005 3:46 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
oh ok ...that stuff we dont have exposed yet (besides in code)

The relevant code is in SqlToJavaTypesStrategy if you want to contribute/fix something more generic ;)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2005 2:13 am 
Regular
Regular

Joined: Thu Feb 17, 2005 1:58 am
Posts: 63
max wrote:
oh ok ...that stuff we dont have exposed yet (besides in code)

The relevant code is in SqlToJavaTypesStrategy if you want to contribute/fix something more generic ;)


Is there a way to provide $ contribution toward the development / prioritization of certain features?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2005 7:55 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Personnally it would be nice to get a little bonus for contributing (but not necessary). I am not sure whats in place to facilitate this. Max might know.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 04, 2005 8:29 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
I figured that since we are a now a successful business venture, accepting "donations" would not be appropriate. (The best way to support the development of Hibernate is of course to buy Hibernate support, or come along to a training. The money we make from this is plowed directly back into Hibernate development.)

This is fine as far as it goes - and it goes as far as those people who are employed by JBoss - but it doesn't really account for the people who are contributing voluntarily. I don't really know of a good model for somehow compensating those people, and I wish I could think of one. In the longer term, the model is that we actually hire people who make really significant contributions. But there's an unfairness in that because we have to bias our hiring towards people who are based where the business is (US, for example) and against places where there has so far been little business (Australia/Asia, for example).

It's an aspect of the model which I don't think we have nailed yet. Open source is a truly new thing, and we are still muddling through.

Almost certainly, in the timescale of 1-3 years, we'll see the same kind of enterprise-level adoption of JBoss products in risk-averse business cultures such as Australia that we see now in the US. But there is usually a lag with this kind of thing, and I guess JBoss needs to build out it's marketing and sales organization into APAC. (We have business in exactly those places where we have salespeople physically located, no surprises there.)

It's a tough one.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 23 posts ]  Go to page 1, 2  Next

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.