我不用Hibernate的,只用ejb,但是还是帮你顶一下!

解决方案 »

  1.   

    重新下了一个jdbc,数据库能连上了,但是又出现问题,说没有找到表。
    错误信息:
    BUILD FAILED
    file:E:/lib/Middlegen-Hibernate-r4/build.xml:148: middlegen.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 tab
    les in the database at all?
    怎么回事啊,表肯定是有的。database.schema和database.catalog我什么都没写,需要配置吗?
      

  2.   

    是不是你的数据库driver不对,或是放错了路径.