This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I have an application that uses struts, spring and hibernate. Any suggestions on the best place to set my value object properties to uppercase ready for saving to a database and whats most efficient? e.g. possibly when the object properties are initially set or in the service layer or at dao level or maybe in the hibernate mapping or any other ideas???
Paul, It's equally efficient wherever you decide to do it. I like the DAO level because uppercase sounds like you are making it uppercase for the database level. If it is more of a business decision, I would do it when the object properties are first set. Whatever you decide, consistency is most important.