Arrogant == false
Frustrated == true at people that initially don't use FAQs/Docs/search then 
whine
because they are told to do so.

Your idea of warning about read-only without enabling a cache
is a good one, but it would require us to analyse your code to see whether you
are making finegrained read-only access using something other than commit 
option A.

e.g. It is perfectly valid to write a DTO method and mark it read-only with 
option B/C
because if you only invoke it once per transaction you ain't going to be 
continually
reloading the bean from the db.

We could certainly write an interceptor to trap your misuse at runtime,
however that would just slow down people that know what they are doing.
i.e. The microsoft nannying approach to software where the software knows
better than the user (maybe in your case that is true? :-).

The last comment is not arrogance either, it is called humour. 
I do not really mean it. I am trying to make you ask yourself whether next
time it might be better use search/faqs/etc. first.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870694#3870694

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870694


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to