I did some research and found that other JPA providers have such tools. Is there no such command-line tool for EclipseLink? I want something I can call from ant.
Here are some tools that generate JPA entity classes from tables:
1) Avaje
2) Hibernate Tools
3) OpenJPA Reverse Mapping Tool
Sorry I can't post the URLs to these yet (because of forum policy).