On 13/05/2009, at 11:28 PM, Borut Bolčina wrote:
Now a question. Let's say I create a select query on paintings with
OSCache
cache group paintings. Lets say there are 3 paintings: p1, p2 and p3.
Now they are cached in object cache and in separete query cache? Two
cache
entries?
Correct.
Thanks to all of you for your feedback!
On 13.05.2009 19:31:32 Mike Kienenberger wrote:
> It's certainly possible to develop templates that provide entity
> interfaces. I've done so in past projects.
>
> And if you mess around with the generic signatures enough, you can
> probably solve those pr
Looks like I still have a few things to learn about generics. Thanks a
lot! Works fine.
On 13.05.2009 19:27:07 Andrus Adamchik wrote:
>
> On May 12, 2009, at 4:40 AM, Jeremias Maerki wrote:
>
> > Collection getRepresentations();
>
> Ain't Java generics fun. Here is the version of the same des
On 13.05.2009 19:19:14 Andrus Adamchik wrote:
>
> On May 12, 2009, at 4:40 AM, Jeremias Maerki wrote:
>
> > While I'm at it: Can I ask why DeleteQuery has been deprecated? I'd
> > rather use that instead of EJBQLQuery. Not having to concatenate
> > strings
> > to build queries is one of the fe
It's certainly true that it's possible with JPA, but, at least when
using Hibernate as the JPA provider, if you don't explicitly fiddle
with the mappings, you get an intermediate table by default; at least,
I've always had to add extra mapping information to achieve an
intermediate-tableles
It's certainly possible to develop templates that provide entity
interfaces. I've done so in past projects.
And if you mess around with the generic signatures enough, you can
probably solve those problems as well.
While I won't recommend JPA (since I am now having to use it instead
of Cayenne),
On May 12, 2009, at 4:40 AM, Jeremias Maerki wrote:
Collection getRepresentations();
Ain't Java generics fun. Here is the version of the same design that
will be allowed to compile:
Interface: Collection
getRepresentations();
Implementation: Collection getRepresentations()
On May 12, 2009, at 4:40 AM, Jeremias Maerki wrote:
While I'm at it: Can I ask why DeleteQuery has been deprecated? I'd
rather use that instead of EJBQLQuery. Not having to concatenate
strings
to build queries is one of the features that makes Cayenne appeal to
me
so much. I've had stuff l
Hi Mike,
Unfortunately CAY-943 is not going to make it to 3.0. I think this is
a very important feature and it is one of the top items on my TODO
list, so it will probably be one of the first things implemented for
the release after 3.0. So don't throw away your stuff just yet, as it
will
Cool. Thanks for sharing!
Andrus
On May 13, 2009, at 4:08 AM, Jeremias Maerki wrote:
Since there was no mention of OSGi on the Cayenne lists recently, I
thought I would just drop a note that I've managed to get Cayenne
(Trunk)
to run in an OSGi environment. After getting OpenJPA to work unde
I believe you can do the following:
Configuration.initializeSharedConfiguration(new
DefaultConfiguration("myfile.xml"));
Configuration cfg = Configuration.getSharedConfiguration();
Not sure how that translates to Spring, though.
See also: http://cayenne.apache.org/doc/customizing
This is probably immensely easy but the coffee isn't working this morning:
I was hoping to spring-inject a cayenne configuration filename (cayenne.xml
by default). I've looked at the Configuration class but any opportunity to
use something other than DEFAULT_DOMAIN_FILE seems to only be scoped at
Hi guys,
Sorry if I've missed an answer to this question somewhere along the line...
I'm currently using a custom method to allow me to merge multiple
cayenne.xml + mapping files at runtime. I notice that the
MultiProjectConfiguration class exists in Cayenne 3.0, and was added as
part of CAY-
Hi,
I am reading the cache docs now and have some suggestions and queations:
"QueryCache Management
The query cache provider is installed via
org.apache.cayenne.cache.QueryCacheFactory. The factory can be configured in
the Modeler for the DataDomain..."
Create a note that this functionality is n
On May 13, 2009, at 5:45 AM, Tobias Schoessler wrote:
I am a bit anxious posting the production schema/mapping here in the
mailing
list. Would someone look at it if I did?
Probably not a good idea to expose the private info on the list, as
due to the distributed archiving it is nearly imp
I just tried to track down the error and started with a simple two table
schema and enhancing it step by step with relationships to see where it
breaks.
I was not able to recreate the issues this way.
I then got back to my production schema/mapping and tried to simplify the
schema to see where it
Since there was no mention of OSGi on the Cayenne lists recently, I
thought I would just drop a note that I've managed to get Cayenne (Trunk)
to run in an OSGi environment. After getting OpenJPA to work under OSGi,
doing the same for Cayenne was surprisingly easy.
Ok, Cayenne (and some of its depe
17 matches
Mail list logo