Dear friends please help me out of this problem , When am usiing hibernate in eclipse for JDBC programs am gettin an error like " this method for example setPid() is undefined for the type Products".What should i do???
You need to have getter/setter methods for the properties that you have mapped in the hbm files. In this case, i guess you have mapped a property named pid and there is no setPid method in the Products class. Introduce that method in the class