ler that extends
> CayenneDataObject do have these public getters/setters. The class is
> however abstract, but I'm using the class created by the modeller that
> extends the abstract modeller class.
>
> Anyone that have any experience from Cayenne and Spring that have some
> i
on dev@.
>
> Thanks,
> Andrus
>
>
> > On Sep 20, 2016, at 9:30 AM, Frank Herrmann <frank.herrmann@
> modernizingmedicine.com> wrote:
> >
> > Hello all,
> >
> > I was wondering if anyone has had any experience using a transaction
> > manager wit
bases while doing my research into the best approach.
On Tue, Sep 20, 2016 at 7:20 PM, Aristedes Maniatis <a...@maniatis.org>
wrote:
> On 20/09/2016 11:30pm, Frank Herrmann wrote:
> > Hello all,
> >
> > I was wondering if anyone has had any experience usin
Cayenne with Atomikos (or other transaction manager)?
Thanks in advance.
-Frank
--
FRANK HERRMANN
SENIOR SOFTWARE ENGINEER
T: 561-880-2998 x1563
E: frank.herrm...@modmed.com
[image: [ Modernizing Medicine ]] <http://www.modmed.com/>
[image: [ Facebook ]] <http://www.fac
DB and mapping it to java.time.LocalTime in our model class. Then we
> just modified the setter for the dateTime value to also set the date-only
> value.
>
> Cheers,
> - hugi
>
> // Hugi Thordarson
> // http://www.loftfar.is/
> // s. 895-6688
>
>
>
> >
Thanks for the quick response. :)
On Thu, May 19, 2016 at 6:19 AM, Andrus Adamchik <and...@objectstyle.org>
wrote:
> Just committed a fix to 3.1 and 4.0 branches:
> https://issues.apache.org/jira/browse/CAY-2084
>
>
> > On May 18, 2016, at 5:27 PM, Frank
the same id), Cayenne
> > does another call to the database, because it cannot find the User object
> > in the cache (because it stored it as a Staff object).
>
> Could be a bug. Which API are you using? Cayenne.objectForPK(..) ?
>
> Andrus
>
>
>
> > On May 18, 2016, at
as a Staff object. The next
time the user goes to retrieve the User object (by the same id), Cayenne
does another call to the database, because it cannot find the User object
in the cache (because it stored it as a Staff object).
Thanks again for the help.
-Frank
--
FRANK HERRMANN
SOFTWARE
, it still have the fault.
-Frank
On Tue, May 17, 2016 at 3:24 PM, Frank Herrmann <
frank.herrm...@modernizingmedicine.com> wrote:
> Thanks. That is pretty much our issue. If I do a prefetch however on
> object1 I everything works as expected. I'll have to dig deeper into our
> c
appened to your object2 between the first and second calls to getObject1()
> which is causing the fault to be re-established and therefore re-tripped.
>
> mrg
>
>
>
> On Tue, May 17, 2016 at 2:29 PM, Frank Herrmann <
> frank.herrm...@modernizingmedicine.com> wrot
hes object1
> object2 = // refetch object2 from cache
> object1 = object2.getObject1(); // trips fault, fetches object1
>
> Thanks,
>
> mrg
>
>
> On Tue, May 17, 2016 at 9:32 AM, Frank Herrmann <
> frank.herrm...@modernizingmedicine.com> wrote:
>
> >
query cache?
Thanks for the help.
-Frank
--
FRANK HERRMANN
SOFTWARE ENGINEER
T: 561-880-2998 x1563
E: frank.herrm...@modmed.com
[image: [ Modernizing Medicine ]] <http://www.modmed.com/>
[image: [ Facebook ]] <http://www.facebook.com/modernizingmedicine> [image:
[ Linke
nerates when it loads the
> > model into memory.
> >
> > So if you look in the log which it also sends to System.err and search
> > for "runtimeRelationship725" then you will be able to see which entity
> > it's associated with. At least then he'll have a c
ity method to dump the model's
> source/destination relationship information immediately after loading the
> model into memory. Then, when you get the validation exception, you can
> reference that data dump for assistance.
>
> mrg
>
> PS. What version of Cayenne?
>
>
>
to
try and figure out what object this runtime relationship is attached to. My
question is, is there an easy way to pinpoint what object this relationship
is attached to, or what relationship it is reversing so he can troubleshoot
the validation error?
Thanks,
-Frank
--
FRANK HERRMANN
SOFTWARE
Frank
On Thu, Feb 4, 2016 at 2:23 PM, Frank Herrmann <
frank.herrm...@modernizingmedicine.com> wrote:
> Thanks for the feedback. I think I prefer to keep everything in the
> module, so I'll try the first solution.
>
> -Frank
>
> On Thu, Feb 4, 2016 at 2:16 PM, Andrus Adamch
ove to our docs :))
>
> Here it is for 4.0:
>
>
> https://github.com/apache/cayenne/commit/5d3e141a9635dc28ce358d048840e74b76b2b0fd
>
> We'll publish it on the site in a few days hopefully..
>
> Andrus
--
FRANK HERRMANN
SOFTWARE ENGINEER
T: 561-880-2998 x1563
E:
wse/CAY-2035 , so the first line is no
> longer needed.
>
> >> CacheInvalidationFilter cacheInvalidationFilter = new
> >> CacheInvalidationFilter();
> >> cayenneRuntime.getDataDomain().addFilter(cacheInvalidationFilter);
>
> This is also a valid solution.
>
> A
r the runtime is created:
>
> CacheInvalidationFilter cacheInvalidationFilter = new
> CacheInvalidationFilter();
> cayenneRuntime.getDataDomain().addFilter(cacheInvalidationFilter);
Is implementing the CacheInvalidationFilter via DI not available in Cayenne
3.1?
Thanks again,
-Frank
On Thu, Fe
is the 3.0 documentation.
Thanks again,
-Frank
On Wed, Feb 3, 2016 at 3:57 PM, Frank Herrmann <
frank.herrm...@modernizingmedicine.com> wrote:
> Is the annotation used for the Object Cache then and not the Query Cache?
>
> On Wed, Feb 3, 2016 at 3:10 PM, Frank Herrmann
Is the annotation used for the Object Cache then and not the Query Cache?
On Wed, Feb 3, 2016 at 3:10 PM, Frank Herrmann <
frank.herrm...@modernizingmedicine.com> wrote:
> So, is the CacheGroups annotation used by the query cache at all? If I
> have to set the cache group via cod
to use the
Spring started Ehcache instance.
Thanks for the reply.
-Frank
On Tue, Feb 2, 2016 at 4:34 PM, Aristedes Maniatis <a...@maniatis.org> wrote:
> On 3/02/2016 5:42am, Frank Herrmann wrote:
> > Hello all,
> >
> > I'm working on switching our query caching to Ehca
y(cacheStrategies.get(searchContext.getCacheStrategy()));
> }
> return query;
> }
Thanks Andrus.
On Wed, Feb 3, 2016 at 2:14 PM, Andrus Adamchik <and...@objectstyle.org>
wrote:
> Do you have an example of SelectQuery fetching StatusFirms?
>
> Andrus
>
> > On Feb
query is
> associated with.
>
> Andrus
>
>
>
>
> > On Feb 3, 2016, at 11:04 PM, Frank Herrmann <
> frank.herrm...@modernizingmedicine.com> wrote:
> >
> > Sure. It takes a few hops to get there but here it is.
> >
> > The actual search is
Hello all,
I'm working on switching our query caching to Ehcache. Does anyone know how
to monitor Ehcache injected into Cayenne via EhCacheQueryCache in jconsole?
In case it matters, I'm using Cayenne 3.1.
Thanks for the help.
-Frank
--
FRANK HERRMANN
SOFTWARE ENGINEER
T: 561-880-2998 x1563
gt;
> >
> >
> >
> >
> >
> >
> > > classname="org.apache.cayenne.tools.CayenneGeneratorTask">
> >
> >
> >
> >
> >
> > On Tue, Jan 26, 2016 at 1:03
26 matches
Mail list logo