-->
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.  [ 4 posts ] 
Author Message
 Post subject: I need to override "net.sf.hibernate.sql.Update" c
PostPosted: Wed Feb 02, 2005 3:27 am 
Newbie

Joined: Wed Feb 02, 2005 3:01 am
Posts: 9
Hibernate version: 2.1.6

Name and version of the database you are using: Db2 v8.1.5

I need to override "net.sf.hibernate.sql.Update" class for parameterized sql statements created by hibernate & associated with each Business Object (Objects mapped to a *.hbm.xml to access database via hibernate). When I tried to override "net.sf.hibernate.sql.Update" class i failed. I have hibernate source & I can change this class code but this not licensed. Now I have a simple question that needs an answer: How could I override "net.sf.hibernate.sql.Update" class ?
Immediate help will be highly appreciated .. Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 02, 2005 6:19 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
I don't really get your problem here. Do you have technical problems while changing this class?

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 03, 2005 2:52 am 
Newbie

Joined: Wed Feb 02, 2005 3:01 am
Posts: 9
emmanuel wrote:
I don't really get your problem here. Do you have technical problems while changing this class?


my point is I want to override this class rather than changing it. When I tried to do so using inheritance (e.g. MyUpdate class) I found some final classes in my path from my own code using hiberbnate ending to hibernate core class Update .. see what I mean ?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 05, 2005 7:24 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Chage it to open it and provide this open version in the LGPL speaking way. Then you're fine with any licensing issue

_________________
Emmanuel


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