This discussion is archived
0 Replies Latest reply: Jun 15, 2006 5:01 AM by 807596 RSS

Error in getConnection() of Dataource

807596 Newbie
Currently Being Moderated
Hi,

I am using the datasource for connecting to the database.
When I use the getConnection() method of DataSource without any parameters then it gets executed correctly .

But the problem is that I cannot use the method getConnection() without
parameters. I need to use the method getConnection(String username,String password);

When I use this method it throws UnsupportedOperationException.

Can any one help me in solving this problem.

Regards
Rakesh