All I can suggest is to place debugging statements in the save() method,
to see where it seems to be breaking.
john mcnally
Ethan Adams wrote:
>
> i have an app using turbine that needs to update another apps password when changed.
>
> so, i use the normal TurbineSecurity.changePassword() for my app and that works fine.
>
> i used torque to generate the needed objects that point to the other apps postgresql
>database.
>
> i make calls like this:
>
> Criteria criteria = new Criteria();
> criteria.add( UsersPeer.USERNAME, user.getUserName() );
> Users theUser = (Users) UsersPeer.doSelect( criteria ).elementAt(0);
>
> theUser.setPassword( encryptedPassword );
> theUser.save();
>
> i know it gets the Users object when i doSelect() b/c i ran some tests by writing
>the values to stdout.
>
> however...the save() is doing nothing. no exceptions are thrown either. any
>thoughts.
>
> jdk1.3.1
> redhat 7.1
> tdk 2.1 using tomcat as the servlet engine
>
> ---------------------------------------------------------------------
> 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]