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]

Reply via email to