The metadata is used to drive the code generation process for the classes that actually execute specific sql statements and then copy information out of the database tables into the ejb and vice versa 元数据被用于推动一个类的代码生成过程-该类实际执行特定的sql语句,然后执行将数据库表外的信息复制到ejb以及与此相反的过程。