Any ROP users?

2022-02-11 Thread Aristedes Maniatis
. 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

Security announcement: CVE-2022-24289

2022-02-11 Thread Aristedes Maniatis
== 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

Re: Ordering objects by primary keys

2021-10-30 Thread Aristedes Maniatis
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

Re: Best Practice for blobs

2019-10-02 Thread Aristedes Maniatis
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

Re: 4.2 modeler change

2019-10-02 Thread Aristedes Maniatis
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

Re: 4.2 modeler change

2019-10-01 Thread Aristedes Maniatis
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

Re: 4.2 modeler change

2019-09-30 Thread Aristedes Maniatis
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

Re: Problems with Modeler...

2019-05-20 Thread Aristedes Maniatis
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

Re: shared cache with memcached

2019-01-29 Thread Aristedes Maniatis
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.

Re: In memory DB for unit testing

2018-05-05 Thread Aristedes Maniatis
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

Cayenne advantages

2017-10-09 Thread Aristedes Maniatis
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

Re: Question on how to properly create parent-child nested dependent objects?

2017-09-19 Thread Aristedes Maniatis
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

Re: Order of insert/update/delete operations

2017-08-01 Thread Aristedes Maniatis
primary keys here? Ari -- --> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Cayenne on StackOverflow

2017-04-14 Thread Aristedes Maniatis
, 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

Re: Fetching lots of objects

2017-03-08 Thread Aristedes Maniatis
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

Re: Fetching lots of objects

2017-03-07 Thread Aristedes Maniatis
d all the columns from the db entity. Ari -- --> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Generic dictionary data with entities?

2017-02-10 Thread Aristedes Maniatis
XML if you want to forgo a GUI editor. Ari -- --> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Cayenne and migrations

2017-02-09 Thread Aristedes Maniatis
; >>>>>>> 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

Re: cgen triggering through gradle

2017-01-11 Thread Aristedes Maniatis
into buildSrc Ari -- ------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Schema generation fails in HSQLDB when generating foreign key constraints targeting tables with more than one join

2016-11-10 Thread Aristedes Maniatis
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

Re: Erratic AshwoodEntitySorter NPE on Latest Snapshot

2016-10-24 Thread Aristedes Maniatis
? Ari -- --> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Cayenne with Transaction Manager (Atomikos)

2016-09-20 Thread Aristedes Maniatis
m does Atomikos solve? Cheers Ari -- ------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Bamboo vs. Jenkins for Cayenne, other projects

2016-09-09 Thread Aristedes Maniatis
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

Re: EJBQL limit

2016-08-15 Thread Aristedes Maniatis
: > 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

Re: EJBQL limit

2016-08-15 Thread Aristedes Maniatis
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

Re: Order of operations?

2016-07-01 Thread Aristedes Maniatis
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

Re: Order of operations?

2016-06-30 Thread Aristedes Maniatis
[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

Re: Order of operations?

2016-06-22 Thread Aristedes Maniatis
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

Re: Order of operations?

2016-06-21 Thread Aristedes Maniatis
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

Re: NPE on ROP connect after upgrading from 4.0.M2 to 4.0.M3

2016-05-29 Thread Aristedes Maniatis
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

Re: NPE on ROP connect after upgrading from 4.0.M2 to 4.0.M3

2016-05-27 Thread Aristedes Maniatis
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

Re: CayenneDataObject validation

2016-05-18 Thread Aristedes Maniatis
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

Re: NPE on ROP connect after upgrading from 4.0.M2 to 4.0.M3

2016-04-09 Thread Aristedes Maniatis
8e074b030 -- ------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: NPE on ROP connect after upgrading from 4.0.M2 to 4.0.M3

2016-04-09 Thread Aristedes Maniatis
.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

Re: NPE on ROP connect after upgrading from 4.0.M2 to 4.0.M3

2016-04-09 Thread Aristedes Maniatis
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)

Re: NPE on ROP connect after upgrading from 4.0.M2 to 4.0.M3

2016-04-08 Thread Aristedes Maniatis
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); >

Re: ROP: detecting that my client connection has timed out

2016-04-08 Thread Aristedes Maniatis
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

Re: ROP: detecting that my client connection has timed out

2016-04-08 Thread Aristedes Maniatis
Ari -- --> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: ROP: detecting that my client connection has timed out

2016-04-08 Thread Aristedes Maniatis
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

Re: ROP: detecting that my client connection has timed out

2016-04-07 Thread Aristedes Maniatis
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

Re: Modeling vertical inheritance

2016-03-27 Thread Aristedes Maniatis
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

Re: Populating a test DB for use with Cayenne

2016-03-19 Thread Aristedes Maniatis
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

Re: Cayenne 4.0 M3 Usable for Production

2016-03-05 Thread Aristedes Maniatis
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

Re: Reconnecting automatically after DB downtime

2016-02-29 Thread Aristedes Maniatis
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

Re: using database generated PK

2015-12-04 Thread Aristedes Maniatis
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

using database generated PK

2015-12-02 Thread Aristedes Maniatis
://issues.apache.org/jira/browse/CAY-2040 -- --> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Generate Classes without cayenne modeler

2015-10-16 Thread Aristedes Maniatis
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

Re: Is there a canonical method of invoking aggregate functions

2015-09-13 Thread Aristedes Maniatis
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

Re: How do you update a record with apache cayenne without using select clause

2015-09-11 Thread Aristedes Maniatis
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

Re: Query at the time of inserting data using Apache Cayenne

2015-09-09 Thread Aristedes Maniatis
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

Re: Getting the currently active ServerRuntime

2015-08-27 Thread Aristedes Maniatis
-- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Obtain primary key for DataObject before commitChanges

2015-08-12 Thread Aristedes Maniatis
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

Re: Obtain primary key for DataObject before commitChanges

2015-08-11 Thread Aristedes Maniatis
) { 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

Re: Obtain primary key for DataObject before commitChanges

2015-08-10 Thread Aristedes Maniatis
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

Re: Cayenne design Patterns

2015-06-12 Thread Aristedes Maniatis
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

Re: LinkETL - soliciting naming ideas

2015-06-11 Thread Aristedes Maniatis
* LinkShip * LinkLoad Ari -- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: cayenne 4.0

2015-04-27 Thread Aristedes Maniatis
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

Re: cayenne 4.0

2015-04-26 Thread Aristedes Maniatis
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

lightweight object fetching

2015-04-15 Thread Aristedes Maniatis
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

Re: Post Fetch Filter?

2015-02-03 Thread Aristedes Maniatis
, 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

Re: Closing Cayennes' DataContext

2015-01-08 Thread Aristedes Maniatis
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

Re: Closing Cayennes' DataContext

2015-01-04 Thread Aristedes Maniatis
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

Re: Closing Cayennes' DataContext

2015-01-03 Thread Aristedes Maniatis
. -- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Unexpected null value when prefetching with Cayenne.objectForQuery

2014-12-04 Thread Aristedes Maniatis
/CAY-1975 Johannes -- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Updating totals in a multi-user environment

2014-10-31 Thread Aristedes Maniatis
). Ari -- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Cayenne+jasper reports

2014-10-30 Thread Aristedes Maniatis
, 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

ApacheCon Budapest CFP closes June 25

2014-06-12 Thread Aristedes Maniatis
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

Re: Issue with distinct 3.1

2013-11-12 Thread Aristedes Maniatis
-- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Removing use shared cache option

2013-11-03 Thread Aristedes Maniatis
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

Re: RelationshipQuery

2013-10-02 Thread Aristedes Maniatis
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

Re: Cayenne modeler (multiple windows)

2013-08-07 Thread Aristedes Maniatis
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

Re: Which Cayenne Version to use ?

2013-07-23 Thread Aristedes Maniatis
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

caching questions

2013-07-01 Thread Aristedes Maniatis
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

Re: Scale out

2013-05-30 Thread Aristedes Maniatis
. 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

Re: Scale out

2013-05-29 Thread Aristedes Maniatis
-with-terracotta -- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: ROP security

2013-05-16 Thread Aristedes Maniatis
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

ROP security

2013-05-15 Thread Aristedes Maniatis
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

Re: Relationship

2013-04-23 Thread Aristedes Maniatis
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

Re: Multiple isolated cayenne runtimes... (Cayenne = 3.1)

2013-04-22 Thread Aristedes Maniatis
? 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

Re: cayenne in central repo?

2013-04-15 Thread Aristedes Maniatis
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

Re: Docs evolving

2013-02-22 Thread Aristedes Maniatis
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

partially hollow objects

2013-02-14 Thread Aristedes Maniatis
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

Re: hazelcast - serialVersionUID or not?

2013-02-05 Thread Aristedes Maniatis
it into production. Ari -- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: spatial operations with selectQuery

2013-01-29 Thread Aristedes Maniatis
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

Re: Add ActiveRecord support to Cayenne

2012-12-26 Thread Aristedes Maniatis
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

Re: Add ActiveRecord support to Cayenne

2012-12-26 Thread Aristedes Maniatis
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

Re: Add ActiveRecord support to Cayenne

2012-12-26 Thread Aristedes Maniatis
a transaction for. How will you do that? Ari -- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Add ActiveRecord support to Cayenne

2012-12-23 Thread Aristedes Maniatis
-- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Problem in fetching the data from multiple tables with relationships.

2012-12-14 Thread Aristedes Maniatis
and handle it how you choose. Ari -- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Fetching and processing a large amount of objects

2012-12-12 Thread Aristedes Maniatis
-- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Problem in fetching the data from multiple tables with relationships.

2012-12-12 Thread Aristedes Maniatis
. -- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Date cast exception

2012-11-26 Thread Aristedes Maniatis
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

Re: adding new columns to table

2012-11-24 Thread Aristedes Maniatis
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

Re: check for changes before commit

2012-11-23 Thread Aristedes Maniatis
. 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

Re: check for changes before commit

2012-11-23 Thread Aristedes Maniatis
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

Re: testing with cayenne

2012-11-10 Thread Aristedes Maniatis
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

Cayenne website

2012-11-08 Thread Aristedes Maniatis
, 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

Re: setToOneTarget not works for two transient objects (3.1B1)

2012-11-07 Thread Aristedes Maniatis
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

Re: setToOneTarget not works for two transient objects (3.1B1)

2012-11-07 Thread Aristedes Maniatis
: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

Re: Class Relation vs Foreign Key

2012-11-06 Thread Aristedes Maniatis
-- -- Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

  1   2   3   4   >