Hello!
I have a project running live for couple of years and it uses plain jdbc. Now I have to implement a small module for which I am considering hibernate. I configured hibernate(hibernate-cfg.xml) and its up n running.So I have DB properties defined in two places oracle-ds.xml and hibernate-cfg.xml 1.Is that OK to mix jdbc,hibernate in a single application, if not what are the issues? 2.Do I need to configure "connection pool" in hibernate configuration and also in oracle-ds.xml(JBOSS application server). 3.I thought of configuring hibernate using JNDI but that needs mbean, HAR thats extra work and this new module is going to be used rarely. OR Should I make it as an jboss service so that connection pooling is handled by container? 4.I can use plain jdbc but team wants to try hibernate and if everything works fine, we are looking into using hibernate full time for next project.