Skip site navigation (1) Skip section navigation (2)

Accessing functions from JSP code

From: Minal <minalac(at)yes2etl(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Accessing functions from JSP code
Date: 2005-07-25 06:38:35
Message-ID: 42E488EB.2050505@yes2etl.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
Hi..
I am trying to access functions from the jsp code, using the following 
code. I  get error and just cant access the function. Dont know what to do??
Please help...

    sql="execute sp_login 'INSERT','admin','"+username+"','"+password+"'";
    pStat=conn.prepareStatement(sql);
    msg=pStat.executeUpdate();

Minal

Responses

pgsql-jdbc by date

Next:From: Les CarterDate: 2005-07-25 07:40:06
Subject: getMoreResults() issue
Previous:From: Tom LaneDate: 2005-07-25 03:13:08
Subject: Re: Timestamp weirdness

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group