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 ... figurationgopal 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.