-->
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.  [ 2 posts ] 
Author Message
 Post subject: how to configure hibernate in real time application???
PostPosted: Fri Jan 13, 2006 9:14 pm 
Beginner
Beginner

Joined: Thu Jan 12, 2006 7:38 pm
Posts: 25
Hi,

I started a new porject, and i want to implement Hibernate with that,

i worked with hibernate, but i didnt configured it. i refered hibernate documentaion. those configuration are simple.

i want to know how to do it in real time application. i defined HibernateUtil it simply gets the sessionfactory. is it enough??

can i use Interceptor? how it works??

what are the things to be configured???

please let me know..

thanks in advance
Gopal


Top
 Profile  
 
 Post subject: Re: how to configure hibernate in real time application???
PostPosted: Sat Jan 14, 2006 3:02 am 
Senior
Senior

Joined: Tue Aug 23, 2005 8:52 am
Posts: 181
gopal wrote:
Hi,

I started a new porject, and i want to implement Hibernate with that,

i worked with hibernate, but i didnt configured it. i refered hibernate documentaion. those configuration are simple.

i want to know how to do it in real time application. i defined HibernateUtil it simply gets the sessionfactory. is it enough??


You need a hibernate.cfg.xml to define the SessionFactory and how it should be built. Refer to
http://www.hibernate.org/hib_docs/v3/re ... figuration

gopal wrote:
can i use Interceptor? how it works??

Why would you need a Interceptor? You require it only when you think whatever Hibernat e provides is not enough for you and need places to hook in ur code. If you are starting, Id just follow KISS and not do anything exotic.

gopal wrote:
what are the things to be configured???

please let me know..

thanks in advance
Gopal


Again http://www.hibernate.org/hib_docs/v3/re ... figuration
provides a lot of information about Configuration.

If you ask what you specifically require and provide information that you did try about it, a lot more folks will answer the queries asked.


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