简体   繁体   中英

What does “portable application” mean?

I am reading java persistence specification version 2.1 There is last paragraph in 25 page:

Entity subclasses may override the property accessor methods. However, portable applications must not override the object/relational mapping metadata that applies to the persistent fields or properties of entity superclasses.

So what does "portable applications" mean? Could somebody explain and provide a few exmaples?

JPA is a specification. Multiple implementations of this specification exist: Hibernate, EclipseLink, etc. A portable application is an application that is written to work with any of these implementations.

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