why do we need a datasource object as we have sessionfactory object
why is this line of code then
If so how to proceed with this ???
Can you give your mail Id ill post some questions because me off for next two days plzzz
2007-07-13 20:01:04,421 INFO [STDOUT] 20:01:04,421 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: java:/hibernate/MySessionFactory
As per your reply i must set all the properties in a hbm.xml or hibernate.properties ,which would be a meaning ful one. is that wright??
what do you mean by the above line i cant under stand about ORMs and relatinal data. Can you explain me these plzz
I read many documents in net . but i have not got a clear idea about
1.ORM(object relational mapping)
2.Relational model of data and
1.ORM conecpt is that were a object is been mapped to table with the help of "relational entity" were we map the table with
relationaships with the object.but the relationship entity is different form object relation ship mapping.
2.Entity relational model. is that we define the table and their relationships in the database
a. Person - a table in database
b. person.hbm.xml - xml file in hibernate mapping file
c.Person.java - a pojo class
d.hibernate.cfg.xml - hibernate file
17:50:16,765 INFO [STDOUT] 17:50:16,765 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured