gwt-google用hibernate调用引擎



我的GWT项目是用谷歌应用程序引擎设置的。现在我想在谷歌应用程序引擎中运行hibernate代码。

我添加了businesslogic jar文件,其中包含所有带有hibernate实现的业务逻辑。我放置了我的businesslogic jar文件WEB-INF\lib文件夹,并添加到类路径中。运行应用程序后,当我单击登录按钮时,它应该验证用户名和密码。这个用户验证是通过hibernate实现的。但它抛出了以下异常。

    Caused by: org.datanucleus.exceptions.NucleusUserException: No available StoreManager
    found for the datastore URL key "jdbc". Please make sure you have all relevant 
    plugins in the CLASSPATH (e.g datanucleus-rdbms?, datanucleus-db4o?), and consider 
    setting the persistence property "datanucleus.storeManagerType" to the type of store 
    you are using e.g rdbms, db4o
AppEngine不是RDBMS!它不运行Hibernate。DataNucleus OTOH是一个JDO/JPA持久化解决方案,允许持久化到BigTable(GAE/J中的数据存储)

最新更新