glassfish « Default « JPA Q&A





1. JPA: how to configure default sequencer?    java.net

Witold Szczerba wrote: > 2007/3/22, Marina Vatkina : > >> [...] >> Bad news: the spec allows (unfortunately IMHO) to treat >> GenerationType.AUTO in >> any way a provider wants and TopLink Essentials uses table-based >> generation for >> this setting. > > > Well, you were right, TopLink does use table-based generation, but now > I do not understand why ...

2. Why is TopLink the default provider in GlassFish and not Hibernate?    java.net

Another interesting aspect of the differences is that when using hibernate I can use the left join fetch queries extensively (left join fetch o.subobject1 so1 left join fetch so1.subobject2 so2 left join fetch so2.subobject3 (etc.)). As far as I can tell this goes against the Java EE Spec and is thus not allowed in Toplink (which makes your code unportable). However ...