Hi all
My DB table consists of String id.. and in the mapping file, whats the generator class is used for ?
and one more basic doubt ! "The no.of properties of POJO should match with no.of columns in the DB ?" or the columns can be selective in hbm file ? because DB table consists of 10 columns and my login POJO consists of only 2 columns with String ID as one property ..
My DB table consists of String id.. and in the mapping file, whats the generator class is used for ?
and one more basic doubt ! "The no.of properties of POJO should match with no.of columns in the DB ?" or the columns can be selective in hbm file ? because DB table consists of 10 columns and my login POJO consists of only 2 columns with String ID as one property ..