Re: model model, who's got the model….

2012-05-15 Thread John Huss
You don't need a separate model, you just need to override the database connection information in the DataNode on startup. See here: http://cayenne.195.n3.nabble.com/Multiple-data-nodes-to-be-selected-at-run-time-td3932923.html On Tue, May 15, 2012 at 4:59 PM, Tony Giaccone wrote: > > > So here

model model, who's got the model….

2012-05-15 Thread Tony Giaccone
So here's my situation. I'm building a framework, where I'd like to let my development team choose to use either sql light or postgres on a shared server as the persistent store. Using SQLite lets them do development locally with out having to install Postgress on each workstation and or be

RE: How to turn on escaping for named queries

2012-05-15 Thread Durchholz, Joachim
If that's your query, you don't want to use escaping, you want to set this up as a prepared statement. I'm not using Cayenne actively (still Hibernate here, don't know when or if I can switch), so I can only guess, but it would probably be something like Select something from table where value