2008/12/15 Lukasz Lenart :
>> where should i use this, this should be in ActionClass or it can be
>> in DAO. give me an idea to implement this .
>
> In action, but you shouldn't use that, it's deprecated solution,
> instead implemented Hibernate or JPA layer.
Or a simple JNDI call, configuri
--- On Mon, 12/15/08, m.harig wrote:
> how do i implement then . because i need pooled
> connections . could anyone tell me about that
You may want to ask that on a DB/persistence-oriented forum since it's not
really Struts-related.
Dave
Thanks Lukasz
how do i implement then . because i need pooled
connections . could anyone tell me about that
--
View this message in context:
http://www.nabble.com/struts-data-source-tp21011491p21012275.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
2008/12/15 m.harig :
> and i've gone through with struts. and i've seen an
> example of this.
>
> javax.sql.DataSource dataSource;
> java.sql.Connection myConnection=null;
>
> dataSource = getDataSource(request);
> myConnection = dataSource.getConnection();
>
>
4 matches
Mail list logo