Hibernate自动生成数据库表映射实体类
privatestaticvoidprintTableMetaInfo(Sessionsession){Connectionconnection=session.connection();try{DatabaseMetaDatametaData=connection.getMetaData();ResultSetresult=metaData.getColumns(null,null,NameOfTable,null);StringstrInJava="";
用户评论