tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <>
Subject Re: Datasources....Again! Sorry....
Date Fri, 06 May 2016 10:38:14 GMT

No you cant. What is the issue of defining the datasource with the right

We support aliases so you can define multiple names for the same real
databse if desired. Think it matches all needs. Worde case using
resources.xml allows to define it in the app directly.
Le 6 mai 2016 11:19, "tonywestonuk" <> a écrit :

> Hi.... After moving my datasources to Tomee, I can access any of them from
> any application. running on the server.  However, I must define within the
> application code, the name of the datasource I want to use... if I do not,
> the default is the first one defined in Tomee.
> Is there any way of choosing a default per application?...   So, App1 could
> have a default datasource of ds1, and app2 could have a default datasource
> of ds2/
> I think I asked this already, and you mentioned something about putting
> alias's in the resource tag. But, I cant see how this can solve the issue?
> Thanks.
> --
> View this message in context:
> Sent from the TomEE Users mailing list archive at

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