محرك تطبيق Google: Objectify Lib 3.1 لا يشمل COM.GOOGLECODE.OBJECTIVEL.ANNOTATION.ID التوضيحية؟

StackOverflow https://stackoverflow.com//questions/12716107

  •  13-12-2019
  •  | 
  •  

سؤال

قمت بتنزيل Objectify 3.1 Lib من http://code.google.com / P / Objectify-ovense-appengine / التنزيلات / القائمة ، وعندما اتبع الأدلة، يقولون إنني يجب أن أعرب عن التعليق على كائناتك الكتب الخاصة بي مع ID و LETELTEX، ولكن تلك غير المدرجة في Lib على الإطلاق!

My COM.GOOGLECODE.OBJECTIVEL.WOUNTIONTATION يتضمن فقط هذه التعليقات التوضيحية:

  • com.googlecode.objectify.annotation.alsoload.class
  • com.googlecode.objectify.mannotation.cached.class
  • com.googlecode.objectify.annotation.entity.class
  • com.googlecode.objectify.annotation.indexed.class
  • com.googlecode.objectify.mannotation.notsaved.class
  • com.googlecode.objectify.Andation.Parent.class
  • com.googlecode.objectify.mannotation.serialized.class
  • com.googlecode.objectify.annotation.subclass.class
  • com.googlecode.objectify.annotation.unindexed.class

الرجاء المساعدة! شكرا!

هل كانت مفيدة؟

المحلول

يعترض 3.1 يستخدم javax.persistence.id، بدلا من شرح معرف داخل الحزمة الخاصة به.أعتقد أن الأساس المنطقي لهذا كان ذلك ينبغي أن يستخدم المرء عبئا على مستوى التعريفي بدلا من شيء خاص بالمكتبة.في أي حال، يعترض 4 (الذي يحتوي على العديد من التحسينات لطيفة للغاية) لديه شروط التعليق المعرف المحدد داخل الجرة ... أظن أن سؤالك لم يكن غير عادي.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top