Put it in meta-inf/resources.xml Le 13 juin 2012 18:52, "José Luis Cetina" <maxtorz...@gmail.com> a écrit :
> My web app is using the datasource that i set in tomee.xml like this: > > <Resource id="MyDataSource" type="DataSource"> > JdbcDriver com.mysql.jdbc.Driver > JdbcUrl jdbc:mysql://localhost:3306/mydb > UserName myuser > Password mypass > JtaManaged true > </Resource> > > How can i set this configuration inside my app (not in the server)? > > ------------------------------------------------------------------- > *SCJA. José Luis Cetina* > ------------------------------------------------------------------- >