cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Reich <markus.re...@markusreich.at>
Subject Re: get Connection URL at runtime
Date Mon, 17 Feb 2014 08:25:04 GMT
perfect thx


2014-02-17 8:44 GMT+01:00 Andrus Adamchik <andrus@objectstyle.org>:

> Here is a Cayenne-agnostic way:
>
> String url = dataSource.getConnection().getMetaData().getURL()
>
> HTH,
>
> Andrus
>
> On Feb 17, 2014, at 10:41 AM, Markus Reich <markus.reich@markusreich.at>
> wrote:
> > Hi,
> >
> > is it possible to get the connection URL of the data-source, specified in
> > the cayenne*.xml?
> >
> > regards
> > Markus
>
>


-- 
*Markus Reich*
Moosbach 28/2
6392 St. Jakob i.H.
www.markusreich.at / www.meeximum.at
markus.reich@markusreich.at

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message