I was handed a legacy Java application's source code that does some DB operations. However, I did not get the DB tables/structures/SQL scripts.
I know which Java file contains the fields that map to fields in the DB. It's just a class with member variables like so:
view plaincopy to clipboardprint?
1. public class DBRecord
2. {
3. public String A;
4. public int B;
5. public Date C;
6. ...
7. and so on.
8. }
public class DBRecord { public String A; public int B; public Date C; ... and so on. }
Is there any [non-manual] way of generating a table out of the Java class that contains just these variables?
Thanks in advance.