Eclipse JPA and MySQL - Generic vs Eclipse Link platform in JPA facet -


when adding jpa facet eclipse project there choice between generic , eclipse link platforms :

enter image description here

what pros cons of each 1 ?

i intend set project glassfish , mysql

glassfish ships eclipselink default jpa provider. want choose eclipselink platform enhanced persistence.xml configuration (more graphical editing example).

think of way. each jpa provider supports version of jpa specification (2.0 example). each jpa provider supports proprietary extensions. if want code more portable, choose generic jpa provider. if want take advantage of features specific jpa provider, choose jpa provider platform (like eclipselink).

you can take @ this document explains difference between 2 in bit more detail. example, section 4.2.5 explains different options available in persistence.xml editor options.

hope helps.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -