首先:修改你的數(shù)據(jù)庫(kù)配置文件,我用的是數(shù)據(jù)庫(kù)是oracle,修改oracle.xml













MiddlegenException: Middlegen successfully connected to the database, but couldn
't find any tables. Perhaps the specified schema or catalog is wrong? -Or maybe
there aren't any tables in the database at all? 這個(gè)異常,在就是修改build.xml文件。搜索--(entity)?? 改成你自己的文件路徑到oracle.xml。 搜索--(airline)? 把它的值改成HibernateSample? 搜索---(name=build.gen-src.dir) 指向你自己的輸出地址:我的是../../src 在查找destination? 修改






