hi,
        I have checked turbine log file. there is nothing except all INFO
messages. I have used like 

        Rdf objRdf = new Rdf();
        objRdf.setRdfId(request.getParameter("rdf_id"));
        objRdf.setTitle(request.getParameter("title"));
        objRdf.setAuthor(request.getParameter("author"));
        "
        "
        objRdf.setNew (false);
        objRdf.save();

        Then also the record is not getting updated. 

        I am using Struts+turrbine together. So writing above code in
strut's Action Class. That's don't know how to use Rundata or
ParameterParser object directly..??
        Can Anyone throw light on it?

Thanks in advance

Santosh

        

> -----Original Message-----
> From: Leon Messerschmidt [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 7:54 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: newbie having some simple probs
> 
> Hi Santosh,
> 
> Have you checked the turbine log file?  There should be some clue as to
> what
> your problem is.
> 
> By the way you can do this:
> 
> Rdf objRdf = new Rdf();
> data.getParameters().setProperties(objRdf);
> objRdf.setNew (false);
> objRdf.save();
> 
> ~ Leon
> 
> ----- Original Message -----
> From: "Santosh Thakur" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 10, 2001 1:46 PM
> Subject: newbie having some simple probs
> 
> 
> > hi,
> > I have some queries.
> > 1> I m facing some problems in updating the existing  record. Insert ,
> > delete and select are working fine. My code is pasted below. It's not
> giving
> > any error on console but not updating the record also. wht cud be the
> > possible reasons.
> >
> > Rdf objRdf = new Rdf();
> >
> > objRdf.setRdfId(request.getParameter("rdf_id"));
> > objRdf.setTitle(request.getParameter("title"));
> > objRdf.setAuthor(request.getParameter("author"));
> > objRdf.setDept(request.getParameter("dept"));
> > objRdf.setUrl(request.getParameter("url"));
> > objRdf.setBody(request.getParameter("body"));
> >
> > RdfPeer.doUpdate(objRdf);
> >
> > 2> From where do i get the standalone version on Torque? If anyone
> > knows the exact path?
> >
> >
> > Regards,
> >
> > Santosh Thakur
> > Trigyn Technologies Ltd.
> > Vikhroli, Mumbai
> >
> > > Life is a box of chocolates-you never know what you get
> > >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to