This content has been marked as final.
Show 1 reply
-
1. Re: CMP descriptor and datasource name.
infectedrhythms Oct 29, 2002 6:14 PM (in response to infectedrhythms)Well I found the problem.... The below is found within the descriptor, now if only I can figure out how to add the datasource :P Doing it manualy doesn't cut it cause the file is regenrated all the time. You have to specify a datasource using JBuilder and the OpenTool will pick it up... But i havent been able to do so.. Any ideas?
- The 'defaults' node in jbosscmp-jdbc.xml will have a 'datasource' specified if within
your EJB desginer node at least one entity bean specifies a 'datasource' and no two entity
beans specify conflicting 'datasource' values. If conflicting values are specified or if no
value is specified for any entity bean, the 'datasource' element will not be added to the
'defaults' node in jbosscmp-jdbc.xml.