-->
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.  [ 7 posts ] 
Author Message
 Post subject: @Type in Pojos reverse engineered
PostPosted: Tue Jun 19, 2007 12:39 am 
Newbie

Joined: Mon Jan 08, 2007 8:17 am
Posts: 4
Hi,

I tried reverse engineering a database with a custom user type, everything works great except the @Type annotation isn't added to the EJB3 pojo (but the return type is correct).

I see this bug with a solution here

http://opensource.atlassian.com/project ... se/HBX-849

but looking at SVN I don't see it updated, so my question is;

Is there another solution, or do I need to patch the source with these files every time?

reverse engineering a db is cool though, thanks for the work.

Norman


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 19, 2007 6:44 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
just not got around verifying/applying it yet.

Patches without unittests takes longer to go through...submit a testcase and it will go faster ,)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 25, 2007 2:37 pm 
Newbie

Joined: Mon Jan 08, 2007 8:17 am
Posts: 4
ok, I took the files from the bug report - had to make a few minor changes since some methods were missing and now it works nicely with my custom geometry user type.

Having not done this before, how do I create a suitable test case and submit the new files for the hibernate project?

Do I have to provide a database schema, user type as well?

thanks,

Norman


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 25, 2007 2:54 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
just the minimal setup to reproduce it.

for reveng related issues that normally includes db schema and possibly reveng.xml

if it is for codegeneration, then annotated java source or mapping files is normally enough.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re: @Type in Pojos reverse engineered
PostPosted: Thu Sep 23, 2010 11:47 am 
Senior
Senior

Joined: Fri May 08, 2009 12:27 pm
Posts: 168
For the record: I just got bitten by this, too.
Any plans on fixing @Type generation? HBX-849 seems dormant.


Top
 Profile  
 
 Post subject: Re: @Type in Pojos reverse engineered
PostPosted: Fri Sep 24, 2010 8:55 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Joachim Durchholz wrote:
For the record: I just got bitten by this, too.
Any plans on fixing @Type generation? HBX-849 seems dormant.


assigned to look at for next release. sorry for dormance.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re: @Type in Pojos reverse engineered
PostPosted: Mon Oct 11, 2010 11:05 am 
Senior
Senior

Joined: Fri May 08, 2009 12:27 pm
Posts: 168
Thanks, looking forward to it.


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