tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tonywestonuk <to...@totspics.com>
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. 
However

@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.?

Thanks.



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Resource-link-to-global-resource-tp4678304p4678308.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message