开发者

In which release did Java Data Objects (JDO) first start allowing annotations as an alternative to XML?

开发者 https://www.devze.com 2022-12-18 16:11 出处:网络
My understanding is that the original incarnation of JDO required the use of XML files to describe the metadata but I see that the most recent version allows annotations.

My understanding is that the original incarnation of JDO required the use of XML files to describe the metadata but I see that the most recent version allows annotations.

Is this correct?

If so, when did annotations first become available in JDO as an alternative to XML开发者_Python百科?


From apaches JDO page:

The JDO 2.1 maintenance release provides support for JDK 1.5 features,including the use of annotations as a means of specifying mapping.

Most recent release is JDO 2.2, for 2.3 there's an early access release (again, this information is valid for apache JDO).

0

精彩评论

暂无评论...
验证码 换一张
取 消