Re: partially hollow objects

2013-02-18 Thread dollj
A method that I have used as a 4th option: 4. Have one database table, however the Cayenne class doesn't include the BLOB field as an object attribute but as a relationship attribute. So you'll need a 2nd Cayenne class to hold the BLOB field. So the Cayenne DbEntity has a 1:1 relationship with i

Re: [ANN] Cayenne 3.1B2 released

2013-02-18 Thread Markus Reich
Hi, I use this snippet to get a connection? ServletContext servletContext = (ServletContext) FacesContext.getCurrentInstance().getExternalContext().getContext(); CayenneRuntime cayenneRuntime = WebUtil.getCayenneRuntime(servletContext); ServerRuntime serverRuntime = (ServerRuntime)cayenneRuntime

RE: [ANN] Cayenne 3.1B2 released

2013-02-18 Thread Sampath Uppula
Thanks Andrus for new version of cayenne. I have requirement, Is it possible to get the connection object from the ObjectContext? In some cases I want run the queries for reporting using the JDBC connectivity which requires the Connection object. Right now I had created the connection pool separ

[ANN] Cayenne 3.1B2 released

2013-02-18 Thread Andrus Adamchik
A second Beta of Cayenne 3.1 is available. This beta release includes more complete documentation (still work in progress … the web site contains even better docs), and more than 20 bug fixes to the Modeler and the runtime framework. This release goes a long way in stabilizing and improving 3.1