2012-04-12 73 views
0

我正在使用帶有JPA的Google App Engine,現在當我運行已部署的項目時,我可以在DataStore Viewr中查看數據庫。
我在哪裏可以找到odb文件,當我在本地模式下運行?odb文件在哪裏?

當我和JPA bofore工作,我設定的方向爲:

emf = Persistence.createEntityManagerFactory("$objectdb/db/profiles.odb"); 

但現在當我使用:

emf = Persistence.createEntityManagerFactory("transactions-optional"); 

我不知道在哪裏可以找到ODB文件。

+0

WEB-INF/appengine-generated/local_db.bin但tt不是odb格式(protobuf) – alex 2012-04-12 17:08:51

+0

有一種方法可以觀察文件的內容嗎? – Rami 2012-04-12 17:13:09

回答

0

Google App Engine的實現不基於ObjectDB,因此GAE中沒有ObjectDB數據庫odb文件格式的數據庫。