Hello,
I'm aware of some Hibernate tools, but I'm not sure if there is a tool that will take a
file with DDL statements (i.e. create table XXX ...... ) and convert that to .hbm.xml or .java file. Is there such a tool?
I know there is something that can connect to a DB and generate .hbm.xml files for all/selected tables in DB, but I'm hoping to find a simple command-line, non-interactive tool that can take a file with DDL as input and output either a .java file or the .hbm.xml mapping file.
Perl, Python, Java, Shell, Ruby, anything works :)
Thanks,
Otis
|