简体   繁体   中英

Initializing objectify in google app engine

I need to use objectify version 5 with my app engine spring project. What is the initialization code for using objectify with GAE. I've tried creating a class as mentioned in https://github.com/objectify/objectify/wiki/Setup , but it does't work.

There is no special initialization required for Objectify v5. Just make sure you register your entities before you start using Objectify; a servlet context listener is ideal.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM