tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tonywestonuk <>
Subject Re: Resource-link to global resource
Date Mon, 02 May 2016 10:37:53 GMT
@Resource(name="openejb:Resource/jdbc/gblmetadata")  doesn't find it. 

@Resource(lookup="openejb:Resource/jdbc/gblmetadata") does!! :-D

Next problem.   Is there any way I can avoid not having to put this
@Resource annotation at all?  - If I dont put it, the default HSQL database
is found.   Is there somewhere where I can configure that I want my own
global datasource to be the default, rather than the built in on? ..... and
if possible, maybe even turn off the HSQL db.?


View this message in context:
Sent from the TomEE Users mailing list archive at

View raw message