posted 13 years ago
Why is that a constructor is made mandatory for POJO-->For instance hibernate asks the developer to have a constructor in the POJOs.
Can anybody what are the other ways a f/w or any container does to create instances other than below
and my POJO is
In this case i do not hav a default constructor and iam able to create instances as shown above without any issues.
Then why we should have a contructor as a mandatory?
Thanks.
Regards
Senthil Kumar Sekar