Yes, please add this note to the tutorial. It would definitely help all us newbies out there.
Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 ====================================== IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addressed and may contain information that is privileged and confidential, the disclosure of which is governed by applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this information is strictly prohibited. If you have received this message in error, please notify the sender immediately and arrange for the return or destruction of these documents. -----Original Message----- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Monday, December 17, 2007 10:32 AM To: [email protected] Subject: Re: [appfuse-user] Updating POJO results in new database entry You are correct that the version property is missing from the tutorials. However, that is done on purpose since the Person object (in the tutorials) doesn't have a version property. Yes, we could add it, but I'm not sure that version is used in the majority of projects. I tend to think it's excluded moreso than it's included. If you'd like, we could add some sort of note or tip to the tutorials. Matt On Dec 14, 2007, at 7:58 AM, Rene Guenther wrote: > just curious... > > Is it only the web tutorial? The version property is missing > everywhere. In the end the POJOs might be dependent on the DAO > implementation...? > Is the User.class version property used in ibatis and jpa as well? > > René > > > On Fri, 14 Dec 2007 07:23:17 -0700 > "Matt Raible" <[EMAIL PROTECTED]> wrote: >> Please enter an issue for this in JIRA and I'll update the tutorial. >> Matt >> On 12/14/07, base7691 <[EMAIL PROTECTED]> wrote: >>> >>> I solved the problem. >>> The id field is a hidden field but I haden't included a hidden >>> version >>> field. >>> Maybe it would be a good idea to mention it in the 'Using JSF' >>> tutorial. >>> >>> Wolfgang >>> >>> mraible wrote: >>> > >>> > Is your id field a hidden field? >>> > >>> > Matt >>> > >>> > On 12/13/07, base7691 <[EMAIL PROTECTED]> wrote: >>> >> >>> >> If I try to update a already persisted object it seems that >>> all things >>> >> are >>> >> OK >>> >> and I get the 'successfully updated' message. But when I >>> change to the >>> >> list >>> >> view I recognize that a new instance of the object is >>> persistet in the >>> >> database. Could it be that this has something to do with the >>> merge method >>> >> of >>> >> the HibernateTemplate? It dosen't depend if I use >>> GenericDaoHibernate or >>> >> UniversalDaoHibernate, I get the same result. >>> >> >>> >> Wolfgang >>> >> -- >>> >> View this message in context: >>> >> >>> http://www.nabble.com/Updating-POJO-results-in-new-database-entry- >>> tp14317638s2369p14317638.html >>> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >>> >> >>> >> >>> -------------------------------------------------------------------- >>> - >>> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> >> For additional commands, e-mail: [EMAIL PROTECTED] >>> >> >>> >> >>> > >>> > >>> -------------------------------------------------------------------- >>> - >>> > To unsubscribe, e-mail: [EMAIL PROTECTED] >>> > For additional commands, e-mail: [EMAIL PROTECTED] >>> > >>> > >>> > >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Updating-POJO-results-in-new-database-entry- >>> tp14317638s2369p14331438.html >>> Sent from the AppFuse - User mailing list archive at Nabble.com. >>> >>> -------------------------------------------------------------------- >>> - >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
