Any ROP users?

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

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 environment

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 prefix:t

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 ab

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
est framework should 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.frog

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 projects.

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 OSX

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 pret

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
out that. 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
gful 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
cribe, 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
y, especially if you don't need 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
ly to the 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
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 our automated >>>>>>> builds/etc. Perhaps not the answer you were looking for, though! >>>>>>> >>>>>>> mrg >>>>>>> >>>>>>> >>>>>>> On Thu, Feb 9, 2017 at 9:21 AM, Hugi Thordarson >>>>> wrote: >>>>>>> >>>>>>>> Hi all. >>>>>>>> In EOF/WOnder we have the most swesome ERXMigrations to manage >>> changes >>>>> in >>>>>>>> the data model between versions, i.e. upgrades of the schema (and >>>>>>>> downgrades, if applicable). >>>>>>>> >>>>>>>> I see that some years ago there was discussion of an API to handle >>> this >>>>>>> in >>>>>>>> Cayenne ( http://svn.apache.org/repos/asf/cayenne/sandbox/cayenne- >>>>>>>> migrations/ ). but how’s the situation today? Is there something >>> in/for >>>>>>>> Cayenne to do this, and if not, what tools are people using to manage >>>>>>>> versioning of their DB schemas? >>>>>>>> >>>>>>>> Cheers, >>>>>>>> - hugi >>>>>>> >>>>> >>>>> >>> >>> > -- --> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: cgen triggering through gradle

2017-01-11 Thread Aristedes Maniatis
put 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
M3 release? 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
availability problem 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
should 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

Re: EJBQL limit

2016-08-15 Thread Aristedes Maniatis
chik wrote: > 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 wrote: >> >> On 15/08/2016 4:3

Re: EJBQL limit

2016-08-14 Thread Aristedes Maniatis
nd 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: table/field names with more than one words

2016-07-11 Thread Aristedes Maniatis
; will be converted to an Object Entity name of ArtistPainting. Have you tested that? 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 wrote: >> >> 1. The Cayenne model will need to have additional metadata about database >> indexes and constraints. I've always liked that idea anyway but l

Re: Order of operations?

2016-06-30 Thread Aristedes Maniatis
d go much further. [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
ur for the 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
solve 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 Maniat

Re: How to setup cayenne for tables with meaningful pk

2016-06-11 Thread Aristedes Maniatis
reating that, I can create records, but cayenne then picks > values from the auto_pk table. So obviously that's not what I want. I need > to be able to have a method where I can supply the pk value. > > I can't find any documentation on that. > > Thanks for any hel

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

2016-05-29 Thread Aristedes Maniatis
M3 again soon! > > ____ > From: Aristedes Maniatis > 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/2016 2:56pm, Adam Boyl

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
bf8c18e074b030 -- ------> 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
().getCookies().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 s

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

2016-04-08 Thread Aristedes Maniatis
awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) > at java.awt.EventDispatchThrea

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

2016-04-08 Thread Aristedes Maniatis
at java.awt.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), n

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

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

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

2016-04-07 Thread Aristedes Maniatis
ons. 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-07 Thread Aristedes Maniatis
k this 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 > Sent: Friday, April 8

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

2016-04-07 Thread Aristedes Maniatis
ce that ping. That way 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 -- ---

Re: Modeling vertical inheritance

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

Re: Cayenne 4.0 M3 Usable for Production

2016-03-05 Thread Aristedes Maniatis
between 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 jconsole to monitor Ehcache

2016-02-02 Thread Aristedes Maniatis
lse I turn off SSL and password because this is just for an internal network, but you can adjust those as you need to. Ari -- --> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: using database generated PK

2015-12-04 Thread Aristedes Maniatis
040 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
https://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-15 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
ember 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 Mani

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
? Ari -- --> 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
t;—>> > TransactionObjectFieldValue > > I’m currently planning on ignoring relationships 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

Re: Obtain primary key for DataObject before commitChanges

2015-08-11 Thread Aristedes Maniatis
eLogEntry.getKey(); >>>> List changeLogList = (List)changeLogEntry.getValue(); >>>> >>>> InsertBatchQuery batch = new >>>> InsertBatchQuery(changeLogDbEntity, changeLogList.size()); >>>> >>>> DataNode node = >>>

Re: Obtain primary key for DataObject before commitChanges

2015-08-10 Thread Aristedes Maniatis
a primary 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: Any Galera integration experience?

2015-07-15 Thread Aristedes Maniatis
ts-managing-load-balanced-connections.html -- --> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Cayenne design Patterns

2015-06-12 Thread Aristedes Maniatis
rReports for printing. If Dima is lurking 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
mething to tie into the "LinkREST" brand? * LinkRouter * LinkShip * LinkLoad Ari -- --> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Cayenne 4.0 and logging

2015-05-11 Thread Aristedes Maniatis
o it can be found by Cayenne. log4j version 2 uses an xml configuration file, not a properties file. Also, because Cayenne is hooked into the old log4j version 1 library, you'll need the compatibility library for log4jv2 that let's it accept the old API. Ari -- ---

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
e that is fix for all users. > I 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
gy, 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
scales poorly over 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
Any ideas > on this will be much appreciated. :)) > > Best Regards, > > Jonathan > > > > > > > -- > View this message in context: > http://cayenne.195.n3.nabble.com/Closing-Cayennes-DataContext-tp4026629p4026633.html > Sent from the Cayenne - Use

Re: Closing Cayennes' DataContext

2015-01-03 Thread Aristedes Maniatis
p4026631.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: Unexpected null value when prefetching with Cayenne.objectForQuery

2014-12-04 Thread Aristedes Maniatis
> https://issues.apache.org/jira/browse/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
ther than supporting your legacy code). 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é > -- -->

Re: Compile from git

2014-10-28 Thread Aristedes Maniatis
failures, just something wrong in the way the tests run on Jenkins. Ari -- ------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: NEWBEE, first time using Cayenne

2014-09-13 Thread Aristedes Maniatis
distribution. What is the URL you tried that was corrupt? Ari -- --> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Joda!

2014-08-20 Thread Aristedes Maniatis
ode you need to your own project. Take a look at the classes which implement ExtendedType from: https://issues.apache.org/jira/secure/attachment/12619606/0003-CAY-1626-Add-JodaTime-DateTime-support.patch That's pretty much all you need to do. Ari -- --> Aristed

Re: Batch fetching relationships

2014-08-15 Thread Aristedes Maniatis
EOF well enough now (it was about 8 years ago I last used it) but was did it have a caching mechanism? What ever became of EOF/WO? Is it still kicking around somewhere with Project Wonder reverse engineering the WO code in order to fix bugs and add features? WOlips was a great model editing too

Re: SQL UPDATE fires on non-primitive values

2014-06-19 Thread Aristedes Maniatis
ot;, but they are "equals". >>>>> In the source I found in de PersistentObjectHolder.setValue the >>>> following: >>>>> >>>>> Object oldValue = setValueDirectly(value); >>>>> if (oldValue != value && relationshipOwner.getObjectContext() != null) >> { >>>>> relationshipOwner.getObjectContext().propertyChanged(relationshipOwner, >>>>> relationshipName, oldValue, value); >>>>> .. >>>>> } >>>>> >>>>> Is this piece of code used for non-primitive properties? >>>>> >>>>> Mark >>>>> >>>>> PS: I am using 3.2M1 >>>> >>>> >> >> > -- --> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

ApacheCon Budapest CFP closes June 25

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

Re: V3.0.2 org.apache.cayenne.access.DataDomain, line 258

2014-01-16 Thread Aristedes Maniatis
lly bugs at all. Ari -- ------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Issue with distinct 3.1

2013-11-12 Thread Aristedes Maniatis
or Map. Ari -- --> 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
in lots of dirty code. > > Now I am wondering have 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 > -- --

Re: AddPrefetch

2013-10-13 Thread Aristedes Maniatis
7;d hazzard a guess and say that your one-to-one mapping of the OfferChain to Promotion is related to your issue. Are you missing a primary key in OfferChain, instead relying on the primary key from the joined Promotion? Ari -- --> Aristedes Maniatis GPG finger

Re: RelationshipQuery

2013-10-02 Thread Aristedes Maniatis
ck the little "I" 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: Upgrading from 3.0

2013-09-21 Thread Aristedes Maniatis
optional. That is, the new query API is something you don't need to change to right away. The changes in 3.1 around configuration and injection tend not to affect a lot of your code, but they are something you can't avoid dealing with. Ari -- --> Aristed

Re: Cayenne modeler (multiple windows)

2013-08-07 Thread Aristedes Maniatis
t;>> >>>> On Aug 6, 2013, at 2:39 PM, Tony Giaccone wrote: >>>> >>>>> Yeah it's possible, but.. The whole point of the modeler is to shield >>>> people from having to hand edit XML and because the modeler does that so >>>> well it

Re: Flattened relationships

2013-08-05 Thread Aristedes Maniatis
tures to compare > one to the live open project. This worked but was exceptionally painful. -- --> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Which Cayenne Version to use ?

2013-07-23 Thread Aristedes Maniatis
m 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
ries to commit the changes to that object. Have I captured the above 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
as a set. 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 73

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
mixture 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 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
' object entities which are missing some 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 Mania

Re: Relationship

2013-04-23 Thread Aristedes Maniatis
o I need 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 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

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

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

Re: Convert Oracle Type NUMBER to java.lang.Boolean

2013-04-22 Thread Aristedes Maniatis
oolean? Markus -- ------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: cayenne in central repo?

2013-04-15 Thread Aristedes Maniatis
oving 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: [ann] Apache Cayenne 3.1 goes beta

2013-04-10 Thread Aristedes Maniatis
be above is not that. [1] http://saxon.sourceforge.net/ [2] http://www.oxygenxml.com/ [3] http://www.graphviz.org/ -- --> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: [ann] Apache Cayenne 3.1 goes beta

2013-04-10 Thread Aristedes Maniatis
ist with that since I've worked on a lot of xslt now. Ari -- ------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: [ann] Apache Cayenne 3.1 goes beta

2013-04-09 Thread Aristedes Maniatis
n our todo list but need someone to step forward with a specific need and the time to implement it. Ari Maniatis -- ------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

Re: Docs evolving

2013-03-13 Thread Aristedes Maniatis
On 22/02/13 9:02pm, Aristedes Maniatis wrote: On 22/02/13 8:51pm, Erlend Birkenes wrote: 2013/2/21 Aristedes Maniatis 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'

Re: Docs evolving

2013-02-22 Thread Aristedes Maniatis
On 22/02/13 8:51pm, Erlend Birkenes wrote: 2013/2/21 Aristedes Maniatis 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. Thanks.

  1   2   3   4   5   >