-->
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: hbm2hbmxml & custom naming strategy
PostPosted: Thu May 08, 2008 2:14 pm 
Newbie

Joined: Mon Oct 22, 2007 8:27 pm
Posts: 7
Hi!

I'm trying to do a reverse engineer of an Oracle database using hbm2hbmxml with a custom naming strategy but it doesn't work...

The log shows that my naming strategy is being used:

"Using com.x.CustomNamingStrategy as naming strategy"

But none of the methods of my custom class, which extends org.hibernate.cfg.DefaultNamingStrategy, are ever called (except for the constructor)!

Is this a known bug?

I'm using Hibernate Tools 3.2.1.GA

Thanks

Christian


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 08, 2008 6:08 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
no - I haven't seen that happen before.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 12, 2008 2:27 pm 
Newbie

Joined: Mon Oct 22, 2007 8:27 pm
Posts: 7
Ok but could you confirm that it should work?


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 12, 2008 2:51 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
yes it should work yes.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 12, 2008 3:47 pm 
Newbie

Joined: Mon Oct 22, 2007 8:27 pm
Posts: 7
So this is a bug then...


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 13, 2008 1:23 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
or you have something misconfigured.

As I commented on the bug you did it worked for me when I fixed the broken classpath entries (references to JavaBlackBelt project)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 13, 2008 1:24 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
discard that message - wrong thread ;)

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