Let's not forget we are talking about a property that would only be
used when a user with an existing application running on OpenJPA
needs this property to port the application to EclipseLink with zero
impact on any other user. I do not believe there is any proposal to
change EclipseLink from failing deployment by default when errors
are encountered.
--Gordon
On 25/07/2014 3:25 PM, Shaun Smith
wrote:
Hi Rick,
I have to say I agree with the fail fast and hard sentiment.
Runtime behaviours like you're suggesting are also hard for design
time tools like Dali to deal with as they are trying to validate
the static correctness of persistence unit definitions, entities,
and JPQL so that when you deploy you don't run into errors like
the one you're trying to suppress.
Shaun
On 25-07-2014 2:16 PM, Rick Curtis
wrote:
> To
me it is a flag that says, "don't properly validate my
persistence unit"
Sort
of... It is closer to "try to continue running in spite of
a bad stuff". Seriously
though, I can see the argument for both cases. Personally, I prefer to have
software fail fast and fail hard. That forces me to fix my
problems as soon as they are encountered. On the flip
side, it is sometimes desirable to have software that will
continue to try to work in spite of potential problems and
only fail when those potential problems are known
problems. In this case, if the invalid JPQL is never
used.... is it really invalid JPQL?
> What
is the reasoning that the Open JPA functionality is
desirable?
It
isn't so much at that the OpenJPA functionality is more
desirable than the EclipseLink functionality... it's a
portability statement.
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
--
Shaun Smith | Senior Principal Product
Manager
Mobile: +1 416 558 6244 |
Phone: +1 905 502 3094 |
Twitter: @shaunMsmith
ORACLE Canada | 100 Milverton Drive, Mississauga, Ontario |
L5R 4H1
Oracle is committed to developing
practices and products that help protect the environment
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
|