-->
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.  [ 1 post ] 
Author Message
 Post subject: H3: Docs 15.2.3 - Basic Finder Generators - Customisation
PostPosted: Fri Mar 25, 2005 5:54 am 
Newbie

Joined: Fri Mar 25, 2005 5:29 am
Posts: 1
Location: Australia
Hi,

As it currentlys stands, the FilterRenderer won't work (in hib3.0rc1) because the org.hibernate.Session.find() method doesn't exist as expected. Are there plans to update it to use the Session.createQuery() method?

Directly relating to this, I was wondering if it is (or will be) possible to specify an 'end-session-method' meta attribute, similiar to the 'session-method' attribute which already exists.

The reason for this would be to correctly close / end the session.

Eg. The following would be defined in an entity.hbm.xml file:

Code:
   

     ...

     <meta attribute="session-method">
       com.....SessMgr.startDBSession();a d
    </meta>   


    <meta attribute="end-session-method">
       com...SessMgr.endDBSession();
    </meta>   

     ...



If there are no plans for this, how could I go about writing my own Renderer - is there a document relating to this?

Many Regards,
Robert Pocklington


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.