Hi...All
Any one..please help me in this issue...
On Fri, Nov 21, 2008 at 6:19 PM, Rama Sundari <sundari.drs_at_gmail.com> wrote:
> Hi..
> thanks for your response..
> but its a way for a standalone client app..
> that way worked to me also..
>
> but when i want to use it in some enterprise applications..
> like mysql or oracle...which enables us to use JPA....
> we need to have conection pool...but there it is failing to get
> connection...
>
> If u have tried like this..tell me where i went wrong..
>
> -thanku,
> Rama.
> On Fri, Nov 21, 2008 at 6:00 PM, <glassfish_at_javadesktop.org> wrote:
>
>> The required properties for setting up a HSQL datasource with glassfish
>> are
>> user, password and database.
>>
>> When i did a standalone DataSource test like
>> org.hsqldb.jdbc.jdbcDataSource ds = new org.hsqldb.jdbc.jdbcDataSource();
>> ds.setUser("sa");
>> ds.setPassword("newpassword");
>> ds.setDatabase("jdbc:hsqldb:hsql://localhost");
>> Connection con = ds.getConnection();
>>
>> i was able to successfully get a connection.
>> [Message sent by forum member 'sm157516' (sm157516)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=318082
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>
>
> --
> Thanks,
> Rama .
>
--
Thanks,
Rama Sundari.