Somebody more familiar with Spring may comment on the DataSource
details, but in Cayenne you probably need a custom DataSourcFactory
set in the Modeler for a given DataNode, that will in turn pick up the
DS from Spring.
Andrus
On Apr 30, 2010, at 2:03 AM, mgarg...@escholar.com wrote:
Is anyone else configuring their data sources through Spring? How
does
one go about doing this? I was trying something, but it just keeps
picking up the driver.xml file that cayenne modeler created. Plus I
keep
getting this nifty MalformedObjectNameException complaining about a
nonprintable invalid character in value part of property. Not even
sure
what file that's happening in cayenne modeler doesn't complain and I
don't
see anything strange when looking through the xml.
Hrmph....
-Mike