I have a scenario, I am learning Hibernate. I have heard about the dynamic POJO classes(bytecode) in java. So I am assuming to create a POJO class Dynamically. For that,I need to know the name of the all columns in a Table(for a proper mapping), where only table name(say EMP_DATA) is given. Is there any way to do that?
So, what am I thinking is : If I am able to describe the table at runtime then may be I can get the column names. And then on the basis of that I may Create a Dynamic POJO(bytecode).
See the references for the Idea.