This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
i am trying to connect my sample test application with hibernate. Everthing is working fine except values are not getting into the database. I am putting up my XML file(both hbm and servlet configuration) and controller here.
maybe the merge method should work (really i dont know, i never used), but using the standard way of the documentation should avoid any problem
Manuel [ November 14, 2006: Message edited by: Manuel Jordan ]
Joined: Nov 24, 2005
thank you for your reply. I have now changed my controller to hibernate template, though my previous style was also from a working example but i think if we are stuck we should take alternatives. But the amazing fact i found here is that - 1). Application is still not working. 2). It's not even giving me any error or exception anywhere when i put wrong or noname/password in my configuation file.
So i think my program is not even boathering to connect to the database. Did you see any problem in the code above?
Joined: Sep 29, 2006
everyone of us was a rookie about this configuration integration, a hell, but then is easy
please copy your new java class using the HibernateTemplate
in your Context.xml
you must have this, i saw that you have commented one.
both are very important
what version of Spring you are using??
i saw this
if is version 2.0 stable, you should have this, instead of the mentionated
and i dont see nothing about this (the hibernates properties), this the mime for example
you must add now some new jars like the c3p0.jar and maybe others
with this you now have no problem, please see the spring documentation, you will see "templates about configuration"