. Authorisation is now easy and the client UI
more lovely.
Is anyone using ROP? Should we remove it from the next Cayenne and
reduce the burden of maintenance?
Ari
On 12/2/2022 8:50am, Aristedes Maniatis wrote:
A patched version of Cayenne 4.1 (or earlier) will not be released
since we
== Environment
A security issue has been discovered in Apache Cayenne ROP. Remote
Object Persistence (ROP) is an optional component in Cayenne which is a
Java client library used to execute Cayenne operations (query, insert,
update, etc) and access the object data map in the client
Its old, but still fast and works well:
https://markmail.org/search/?q=list%3Aorg.apache.cayenne.user+%22db%3A%22
Ari
On 30/10/21 1:01am, Michael Gentry wrote:
Fun fact: I have years worth of Cayenne mailing list content in GMail, but
you can't search for db: in it because GMail uses
My solution has been to store the blob in a separate joined table or
(better) put it in external storage like S3.
Ari
On 3/10/19 9:55am, Lon Varscsak wrote:
Hey all,
I have a blob column in an entity, but I don't want to always actually load
the blob, just on demand (but I still want to be
One advantage of an html/js frontend would be to offer a service on our
website into which a user could paste their DDL as SQL, and get back:
1. a Cayenne map xml
2. a visual representation of their schema [1]
3. an editor which allows them to make changes
4. The ability to export an updated
take this pending decision into account.
Andrus
On Oct 1, 2019, at 7:11 AM, Aristedes Maniatis
wrote:
I've been down that path before, trying to test Swing and JavaFX. Its
not easy to do. The best tool I found (and that was about 8 years ago)
was
https://www.froglogic.com/squish/editions
I've been down that path before, trying to test Swing and JavaFX. Its
not easy to do. The best tool I found (and that was about 8 years ago)
was
https://www.froglogic.com/squish/editions/automated-java-gui-testing/
but I don't know if they have any licensing available for open source
On 21/5/19 1:34am, Tony Giaccone wrote:
I've been away for a week and this morning I tried to start the Modeler and
am getting this message:
Unable to load Java Environment
Not sure what's causing this. Anyone have any insights?
$ java -version
java version "1.8.0_121"
I see you are on
You can integrate any JCache compatible provider.
https://cayenne.apache.org/docs/4.1/cayenne-guide/#ext-jcache
However, think about whether you are best trying to cache the database
queries or rendered html content. If its possible in your app to do the
latter, you might get better results.
On 3/5/18 5:59am, Ken Anderson wrote:
We’re thinking about setting up an in-memory database in place of SQL Server
for doing unit tests. Does anyone have any experience doing this with Cayenne?
Any recommendations or warnings?
We used to use Derby everywhere (in memory) and it worked
at a conference and suggest they try Cayenne, what
would convince them to try it?
Ari
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
Once Caynenne
commits, everything is assigned proper primary keys and joined.
Ari
--
------>
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
primary keys
here?
Ari
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
, or do you mean just "check the tag page regularly"?
Ari
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
f column data instead of a
simpler object model, but it might be faster.
Ari
--
------>
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
d all the columns from the db entity.
Ari
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
XML if you want to forgo a
GUI editor.
Ari
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
;
>>>>>>> We manage schema changes outside of Cayenne using Flyway (could also
>>> use
>>>>>>> Liquibase). Any schema changes we make are updated by hand in Cayenne
>>>>>>> Modeler. This works fairly well for us and fits in with
into buildSrc
Ari
--
------>
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
lly just a simple test environment and you should upgrade it
without problem. At any rate, we may as well be testing against the latest
version that has been out for many years.
Ari
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2
?
Ari
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
m does Atomikos solve?
Cheers
Ari
--
------>
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
d fix the excessive logging which kills travis [1].
We could get mysql, mariadb, postgresql testing there. I got a bit stuck
between maven and Cayenne's logging.
[1] https://travis-ci.org/apache/cayenne
Ari
--
------>
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D
:
> EJBQL is more feature rich - aggregation, arithmetic operations, subqueries,
> functions. So while I rarely use it myself, I can easily see use cases.
>
> Andrus
>
>
>> On Aug 15, 2016, at 9:43 AM, Aristedes Maniatis <a...@maniatis.org> wrote:
>>
>> O
yenne and this was the easiest way forward? Or are there features of
Cayenne's incomplete EJBQL implementation you like better than the other SQL
Template or ObjectSelect api?
Ari
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
On 1/07/2016 8:57pm, Andrus Adamchik wrote:
>
>> On Jun 30, 2016, at 11:04 PM, Aristedes Maniatis <a...@maniatis.org> wrote:
>>
>> 1. The Cayenne model will need to have additional metadata about database
>> indexes and constraints. I've always liked that id
[2]
http://stackoverflow.com/questions/12616336/how-is-hibernate-deciding-order-of-update-insert-delete
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
entire community.
[1]
https://github.com/apache/cayenne/commits/b0631deb251f036840d1ca3aee6d4ae50f2441bf/cayenne-server/src/main/java/org/apache/cayenne/access/DataDomainFlushAction.java
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
e this, however we deal with it by
committing the context first with the deletes and then after that for the
updates/inserts. So two separate context commits. And you can wrap a database
transaction around all that if you choose.
Ari
--
------>
Aristedes Maniatis
GP
oon!
>
>
> From: Aristedes Maniatis <a...@maniatis.org>
> Sent: Saturday, May 28, 2016 1:06:11 AM
> To: user@cayenne.apache.org
> Subject: Re: NPE on ROP connect after upgrading from 4.0.M2 to 4.0.M3
>
> On 10/04/2016 3:55pm, Aristedes Maniatis wrote:
>> On 10/04/2
On 10/04/2016 3:55pm, Aristedes Maniatis wrote:
> On 10/04/2016 2:56pm, Adam Boyle wrote:
>> Ah, I forgot you are using the latest and greatest and not Hessian. Looks
>> like I will have to figure this one out on my own for now, or else do a
>> build off of master and implem
Wonder) had something like this where I could write
> validateMyAttribute methods.
That would be easy to write in the model class. Just override the setter and
add your own logic.
is that what you had in mind?
Ari
--
------>
Aristedes Maniatis
GPG fingerprint C
8e074b030
--
------>
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
.stream().filter(c ->
"JSESSIONID".equals(c.getName())).findFirst().get().getValue();
We also subclass org.apache.cayenne.CayenneContext in order to override
commitChanges(), performQuery(Query query) and other things and catch some of
the exceptions we get back in order to show more helpfu
ter(EventDispatchThread.java:161)
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
t.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
>
> My code looks like this and was working well in 4.0.M2:
> connection = new HessianConnection(host, userId,
> String.copyValueOf(password), null);
>
for another milestone release sooner rather than later.
Do let us know if you have any questions or suggestions about the new ROP
integration. Hopefully I'll be moving to HTTP2 in our own application this
coming week.
Ari
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4
Ari
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
s sort of check into the ObjectContext.
>
> Does anyone know of a better way? Perhaps some advice for this novice
> enterprise developer?
>
> Thanks again,
> Adam
>
>
> From: Aristedes Maniatis <a...@maniatis.org>
> Sent: F
we have two way
server-client communication and the server can quickly see which clients have
lost network connection without a ping.
Nice to see a fellow Cayenne ROP user. There aren't many of us and it is really
a very powerful bit of functionality.
Ari
--
-->
Aristedes M
nd switching to another ORM.
If you are new to Cayenne, can I recommend you first work your way through the
tutorial [1]. That might be an easier way to get started and understand the
basic ideas.
Ari
[1] https://cayenne.apache.org/docs/4.0/tutorial/
--
-->
Aristed
rhaps?
>
> I’m currently creating my test DBs in code (using Cayenne) and it becomes
> cumbersome when they reach a certain size :).
http://dbunit.sourceforge.net/ will do the trick for you. That combined with
Derby's in-memory mode.
Ari
--
-->
Aristed
tween M2 and M3 was a change to the new
fluent style object query ordering. Between M3 and M4 will be a change to how
you set up ROP. Read the release notes for more information.
Ari
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
t
> running again.
>
> Is there any way to tell Cayenne to reconnect to the DB after an event like
> this?
This should be a property of your JDBC adaptor, not Cayenne. Something like
autoReconnect=true in the connection string.
Ari
--
-->
Aristed
are exactly why we want to
change. Perhaps this is not really a bug, but just a documented reason not to
use this approach and limitation that would be very hard to work around.
Ari
--
------>
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
://issues.apache.org/jira/browse/CAY-2040
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
out using
modeler. In fact you can build that into your regular build cycle so they are
always up to date and in sync with the model.
Or you can use something completely different and do it yourself.
Ari
--
------>
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E8
where EOF stopped
and Wonder started.
Can you give us a short summary of what features Wonder would bring to a
Cayenne developer?
Cheers
Ari
--
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
record? I do not want to use EJBQLQuery or SQL TEMPLETE.
That's a bit like asking "how do I code in Java without using a keyboard?" What
are you trying to do and why are you trying to do it without the tools the ORM
gives you?
Ari
--
------>
Aristedes Maniatis
GPG f
y this instead
DataContext context = (DataContext) BaseContext.getThreadObjectContext();
Person person = context.newObject(Person.class);
person.setFirstName("John");
person.setLastName("Cross");
context.commitChanges();
--
-->
Aristedes Maniatis
GPG
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
in the object graph and just
storing actual values of attributes and foreign keys. We’ll see how that
works out.
Criticism and ideas for a better implementation are very welcome :).
Cheers,
- hugi
On 12. ágú. 2015, at 00:49, Aristedes Maniatis a...@maniatis.org wrote:
I'm interested
)
{
auditRecordMap.put(FKEY_CONDITION, primaryKeysString);
}
}
}
On Mon, Aug 10, 2015 at 7:27 AM, Aristedes Maniatis a...@maniatis.org
wrote:
On 10/08/2015 8:31pm, Hugi Thordarson wrote:
Is it possible for me to obtain the primary key for a Cayenne DataObject
key before the record is written to the database? Or
do you want to hang onto the temporary ObjectId and then replace it with the
real PK after the commit?
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
around here, he'll have more to say since I know he is
liking the groovy approach.
Cheers
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
* LinkShip
* LinkLoad
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
On 28/04/2015 5:57am, Markus Reich wrote:
looks good, how to I get the dataMap?
I have two Maps in my Configuration?
ObjectContext - EntityResolver - DataMaps
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
habe a second dynamic scheme where the entities are equal, just the
scheme names is dynamic?
regards
Meex
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
of read-only lightweight
Cayenne entity.
Has anyone tried something like this?
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
, it is possible to sort-order post query.
Well they are just objects, so you can use any standard Java ordering.
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
about 60. I think this is improved in mysql 5.7, but
I've not tried it. [1]
Ari
[1] http://dev.mysql.com/doc/refman/5.6/en/thread-pool-plugin.html
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
this message in context:
http://cayenne.195.n3.nabble.com/Closing-Cayennes-DataContext-tp4026629p4026633.html
Sent from the Cayenne - User mailing list archive at Nabble.com.
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
.
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
/CAY-1975
Johannes
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
).
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
, but it gave us some nice advantages. JasperReports can
access javabeans as a data source.
Ari
On 31/10/2014 1:30pm, René Aravena wrote:
With cayenne 3.1, as I can get the connection to the database to pass it to
jasperreports?
René
--
--
Aristedes Maniatis
GPG
for beginners, or case studies about the
awesome stuff you're doing with Cayenne.
Please consider submitting a proposal, at
http://events.linuxfoundation.org//events/apachecon-europe/program/cfp
Thanks!
Ari Maniatis
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
anyone ever unchecked that checkbox, and if so, what
was the reason?
Also if you have no idea what I am talking about, it also answers my question
:)
Thanks,
Andrus
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
in the toolbar at the top
5. In the ObjRelationship inspector now open, change the collection type to
List, Collection, Map, or Set.
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
aren't familiar with the XML
structure and options.
Being able to open two models at the same time seems like a pretty
reasonable thing to be able to do.
Tony
On Aug 6, 2013, at 1:18 AM, Aristedes Maniatis a...@maniatis.org
wrote:
Don't forget that the model is just XML, so you can diff
the general public).
We've had a small number of issues in Cayenne, but almost always us bumping up
against features we'd like to have rather than bugs.
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
notes correctly?
Cheers
Ari
--
--
Aristedes Maniatis
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001 fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
.
This is the same problem as having distributed sessions (rather than sticky
sessions) and I've not ever found a good solution for it. But with a
distributed cache the problem is even worse.
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A
-with-terracotta
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
of validation rules in the
entities themselves and preventing SQLtemplate from being able to be used from
the client.
Ari
John
On Wed, May 15, 2013 at 6:49 PM, Aristedes Maniatis a...@ish.com.au wrote:
We have a ROP Cayenne application we'd like to lock down a bit more
tightly. In particular
attributes. Sort
of hollow, but only hollow on some attributes.
Has anyone attempted anything similar to the above? (2) should be easy enough,
but not sure about the other requirements.
Cheers
Ari
--
--
Aristedes Maniatis
ish
http://www.ish.com.au
Level 1, 30 Wilson
to map this key field to a constant literal, as I know it is
just
possible to join fields with fields of the target entity :-(
Is there a workaround (I don't like to make a lot of views an join them
;-))
regards
Meex
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4
?
The configuration of 0..n projects should possibly be changeable at
runtime too with a higher level 'ProjectManager' that i would have to
implement to steer the runtimes.
Thanks for your thoughts!
Cheers,
Daniel
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87
toward the final betas and
hopefully any public bug reports will get it polished off soon.
3.1 is in its own branch so trunk is tracking toward 3.2.
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
On 22/02/13 8:51pm, Erlend Birkenes wrote:
2013/2/21 Aristedes Maniatis a...@maniatis.org
On 22/02/13 12:04am, Andrus Adamchik wrote:
Good question. I am not even sure who maintains this Fisheye instance.
Ari, do you know maybe?
I set it up years ago. I'll go a see if it needs poking
and all that since that just makes the code really messy again.
Ari
--
--
Aristedes Maniatis
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001 fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49
it into
production.
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
MS-SQL, but could you achieve a similar result by using a view and
then a SelectQuery? Alternatively you might be able to edit the database
adapter to support additional data types.
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E
in an open source library is extremely hard, there is value is
creating more options for users.
Perhaps I misunderstood your idea... would your wrapper create a singleton
Context that lives for the life of the application or one per persisted object?
Ari
--
--
Aristedes
in the
model classes:
Artist.find(:name, bob).sort(:age)
or something like that.
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
a transaction for. How will you do that?
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
and handle it how you choose.
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
.
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
returns sql.Date
jdk1.8 returns util.Date
Has anybody experienced something like this ?
Thanks.
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
emeka_1...@yahoo.com
wrote:
Is there a cayenne way to modifying a databse table? Like a way for
cayenne to generate a migration class that can be run when when my schema
changes.
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49
. That needs to be added to our site again. It was lost in
the CMS transition.
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
On 23/11/12 10:30pm, Aristedes Maniatis wrote:
On 23/11/12 10:22pm, devnull2...@gmx.de wrote:
BTW: Where could I find the schema for the map?
The link on the cayenne website doesn't work:
http://cayenne.apache.org/schema/3.0/modelMap.html
-- Not Found
Same forhttp://cayenne.apache.org/schema
performant test?
One approach that can work is http://www.dbunit.org/ with an in memory database
like Derby. Basically it makes it easy to fire up a database, inject a bunch of
known data and then run your tests.
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D
, please let us
know and we'll get them fixed.
You can now use https://cayenne.apache.org for all your browsing pleasure, for
a secure and encrypted experience.
Cheers
Ari
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
interactions while a thick client app would
tend to reuse the same context.
Just curious...
Garth
On 11/07/2012 12:51 AM, Aristedes Maniatis wrote:
On 7/11/12 4:57pm, Alexey Katorgin wrote:
You should always create a context and then create objects within that context
using the methods Cayenne
:22 AM, Aristedes Maniatis wrote:
It all depends. One usage pattern is to create a long lived read-only context
which handles the bulk of data in the application which is not editable by users. Then
you'll use localObject to copy objects into a new context as needed (perhaps a shopping
basket
--
--
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
1 - 100 of 362 matches
Mail list logo