Grokbase Groups Cayenne user May 2010

Search Discussions

43 discussions - 206 posts

  • The Cayenne team are thrilled to announce the availability of Cayenne 3.0. Over the last few years a vast number of improvements have gone into Cayenne 3, and this release is already in use in large ...
    Aristedes ManiatisAristedes Maniatis
    May 6, 2010 at 3:31 pm
    May 8, 2010 at 9:14 am
  • Someone on another project here asked me if Cayenne works with session replication (with 1+ user DataContext objects in the HttpSession) between application servers (such as JBoss). They have a ...
    Michael GentryMichael Gentry
    May 5, 2010 at 8:38 pm
    May 10, 2010 at 7:39 pm
  • Hello; If an EJBQL query is performed; SELECT f FROM FooBar f WHERE ... I note (fairly obvious) that the to-many relationships of the fetch'ed FooBar-s are not freshened. Is there a way to achieve ...
    Andrew LindesayAndrew Lindesay
    May 6, 2010 at 5:08 am
    May 7, 2010 at 7:05 am
  • This is a follow-up on the "out of connections" error I am periodically receiving from the production MySQL DBMS. If you will recall, where we left it was that the evidence appears to support the ...
    Joe BaldwinJoe Baldwin
    May 12, 2010 at 2:40 pm
    May 14, 2010 at 3:35 pm
  • Hi, I'm using cayenne to store large files in BLOBs as a process runs. The first step of the process is storing large files (~ 600MB) and they are ending up in the DB just fine, then we run some ...
    May 21, 2010 at 9:27 pm
    May 31, 2010 at 10:13 am
  • Hi All I started working today on integrating our application with another database. So as expected I created another node and another tree in the modeler, added just one table. And updated my Maven ...
    Gary JarrelGary Jarrel
    May 24, 2010 at 6:27 am
    May 26, 2010 at 1:11 pm
  • Hi all, I'm trying to add Cayenne caching for a web project I'm working on. A new DataContext is created for each request so I'm looking at adding a shared cache for entities that doesn't change ...
    Bob SchellinkBob Schellink
    May 25, 2010 at 12:47 pm
    May 31, 2010 at 12:17 am
  • Hello, Our old large web application uses one database and there are a large number of DataContext.createDataContext(); statements all over the web application itself and jars it depends on. Now ...
    Borut BolčinaBorut Bolčina
    May 3, 2010 at 11:27 am
    May 3, 2010 at 1:00 pm
  • Hi All I'm still trying to wrap my head around the Cayenne caching system, (maybe Friday afternoon isn't doing me any good) I have a test case as follows: public void ...
    Gary JarrelGary Jarrel
    May 28, 2010 at 6:21 am
    May 28, 2010 at 7:37 am
  • I asked this question previously but got no response. The problem appears to be with Cayenne supported DBCP properties. My webapp is getting the following exception (Cayenne 3.0, with ...
    Joe BaldwinJoe Baldwin
    May 27, 2010 at 8:16 am
    May 27, 2010 at 4:20 pm
  • Hi All, I am importing from a lot of csv files (2200+) and each csv has between 0 and 3000 rows, each row will create a new DataObject in a DataContext etc : The code is simple enough and distilled ...
    Steve WellsSteve Wells
    May 24, 2010 at 6:59 am
    May 26, 2010 at 12:42 pm
  • Hi, I'm developing a simple web application that store in a table an user preference. When a new user comes, i save a new record to a database using datacontext: * * ...
    May 22, 2010 at 9:03 am
    Jun 21, 2010 at 2:09 pm
  • Hi everyone, Thanks for all the help so far. Cayenne is pretty sweet, but I've got a few more questions/problems. I'm trying to get this thing out the door and I'm running into the following two ...
    May 11, 2010 at 1:56 pm
    May 11, 2010 at 8:22 pm
  • Hi all, I'm creating a new object for a table with no PK. The object's properties are properly set, but when I do the commit I get this.... org.apache.cayenne.CayenneRuntimeException: [v.3.0RC2 Jan ...
    May 10, 2010 at 8:12 pm
    May 10, 2010 at 8:59 pm
  • Hi Guys, Another interesting aspect that I came across, perhaps best explained via a small example public class Customer { @Override public AccountsCustomer getAccountsCustomer() { AccountsCustomer ...
    Gary JarrelGary Jarrel
    May 27, 2010 at 12:42 am
    May 28, 2010 at 6:40 am
  • I am trying to migrate a Cayenne 2.0.4 project that is a swing-based desktop application that heavily uses data views. The reason I have not migrated previously is that previous attempts have failed ...
    Mark FraserMark Fraser
    May 20, 2010 at 6:28 am
    May 21, 2010 at 5:37 am
  • Hi, I managed to get the cache issue described below resolved, my error with the DataContextFilter that I was using and it was overwriting the modeler configuration when initializing shared config ...
    Gary JarrelGary Jarrel
    May 20, 2010 at 4:22 am
    May 20, 2010 at 12:27 pm
  • Hi All Is there a way to define default prefetching on a Persistent object? Eg: If I have: Category - Products - Orders I want to call category.getProducts() and automatically prefetch all the Orders ...
    Gary JarrelGary Jarrel
    May 19, 2010 at 4:11 am
    May 19, 2010 at 12:49 pm
  • Hello, friend: I`m a newer of Cayenne, i have a question: How to generate the "PK Property" for the data object when use CayenneModeler to generate code (e.g. a property for the "id" column of a ...
    Jin XuJin Xu
    May 10, 2010 at 2:13 am
    May 10, 2010 at 7:00 am
  • I am looking for the best method of serializing/de-serializing CayenneDataObjects as JSON. I've written my own class for now, but am interested in hearing about a good method to use either XStream, ...
    Kuhns, JohnKuhns, John
    May 20, 2010 at 2:11 pm
    May 20, 2010 at 2:55 pm
  • Hi All! Another interesting thing that I have just come across in relation to cache grouping and to continue on Bob's thread "Removing Cayenne cache groups" I have the following two test cases ...
    Gary JarrelGary Jarrel
    May 31, 2010 at 2:44 am
    Jun 1, 2010 at 3:18 pm
  • Hi, I have got below error while retrieving extended types and registering custom type. org.apache.cayenne.CayenneRuntimeException: [v.3.0RC3 Mar 29 2010 13:42:23] Error detecting database type ...
    May 28, 2010 at 5:48 am
    May 28, 2010 at 6:51 am
  • Hi Guys, I seem to full of questions today! In the modeler I've got org.apache.cayenne.cache.OSQueryCacheFactory for Query Cache Factory, 5000 objects and using shared cache. I can see OSCache ...
    Gary JarrelGary Jarrel
    May 19, 2010 at 8:18 am
    May 20, 2010 at 8:11 am
  • Hello; I would like to programatically disable "change notification" (JMS) if the JMS broker is not configured for the deployment. It occurs to me that this could be dangerous if there are other ...
    Andrew LindesayAndrew Lindesay
    May 12, 2010 at 12:30 am
    May 12, 2010 at 11:28 am
  • Hi, where can I set specific encodings (charsets) in cayenne? I'm reading proper cp1250 data from one database and need to store them in utf8_unicode columns in another database, but that messes some ...
    Marek ŠaboMarek Šabo
    May 10, 2010 at 10:45 pm
    May 12, 2010 at 12:44 am
  • Hello, friend: When use MySQL and the internal Connection Pool of Cayenne, how to set "autoReconnect" of Connect/J ? I mean how to resolve the db Connection of in the Connection Pool to fail ...
    Jin XuJin Xu
    May 11, 2010 at 3:54 am
    May 11, 2010 at 7:35 am
  • Hello; There is probably a simple answer to this. I am trying to use the following EJBQL to get the PK; String queryS = "SELECT o."+XYZDataObject.ID_PROPERTY+" FROM ...
    Andrew LindesayAndrew Lindesay
    May 3, 2010 at 10:55 pm
    May 4, 2010 at 7:35 am
  • Hi Guys, Has anyone used Cayenne with Pervasisve? If so did you have to write your own adapter from scratch or were you able to reuse an existing adapter (similar to Sybase & SQL Server)? Thank you ...
    Gary JarrelGary Jarrel
    May 31, 2010 at 9:12 am
    May 31, 2010 at 10:07 am
  • Anybody will be at WWDC this year (June 7..11, San Francisco ) ? We can organize an informal Cayenne get together (you know beer and stuff :-)). Andrus
    Andrus AdamchikAndrus Adamchik
    May 27, 2010 at 7:11 am
    May 27, 2010 at 2:41 pm
  • Hi to all, I'm evaluation Apache Chayenne in order to insert it into some existing applications. I'd like to ask a suggestion if the use of Chayenne that I'm intending could be correct. In this ...
    Galia YerGalia Yer
    May 21, 2010 at 4:44 pm
    May 22, 2010 at 3:50 am
  • Hi Again! Another interesting exception that I just came across although it could be more related to SQL Server or the JTDS Driver that I am using but basically when I have a RAW SQL Query as ...
    Gary JarrelGary Jarrel
    May 20, 2010 at 4:46 am
    May 20, 2010 at 9:10 am
  • Hello I'm experiencing something which made me wonder how lifecycle callback work. Let me lay down an example first: on rop client create two objects and link them together: artist = ...
    Marcin SkladaniecMarcin Skladaniec
    May 19, 2010 at 4:18 am
    May 19, 2010 at 12:54 pm
  • I upgraded the cayenne version from 3.0RC1 to 3.0 in my application's pom.xml. All went well except the maven-cayenne-plugin (m2eclipse auto-executing cgen) throws: Build errors for model ...
    Bryan LewisBryan Lewis
    May 16, 2010 at 8:42 pm
    May 17, 2010 at 12:20 pm
  • Hello, friend: How to get the DB Table Name from a data object ? Thanks ! ! ! ! -- We are the best ! ! ! !
    Jin XuJin Xu
    May 17, 2010 at 7:09 am
    May 17, 2010 at 8:17 am
  • Hi, Is there a way to create Cayenne objects, which are usually created by Modeler, from existing DTOs (Data Transfer Objects) that are having annotations? Any third-party api for this? To reduce dev ...
    May 14, 2010 at 9:26 am
    May 14, 2010 at 10:48 am
  • Hello; I just had some time to try to resolve this, but am having trouble stopping it from using HSQLDB; mvn test \ -Dcayenne.test.connection=postgres \ -DcayenneJdbcUsername=apl \ ...
    Andrew LindesayAndrew Lindesay
    May 12, 2010 at 9:46 am
    May 12, 2010 at 10:47 am
  • Hey everybody, When I try to reverse engineer an existing table, I want to only reverse eng. a few of the tables that are related to each other. The problem is that they are named differently. When I ...
    May 5, 2010 at 6:05 pm
    May 7, 2010 at 7:23 am
  • Hi, i have a problem with MYSQL. When i try to perform a query (a simple select) i receive an exception. This happens only when i wait (doing nothing) for a 2 minutes. After this next queries works ...
    May 27, 2010 at 12:33 pm
    May 27, 2010 at 12:33 pm
  • My webapp is getting the following exception (Cayenne 3.0, with dbcpdatasourcefactory): java.util.NoSuchElementException: Could not create a validated object, cause: ValidateObject failed ...
    Joe BaldwinJoe Baldwin
    May 24, 2010 at 4:28 pm
    May 24, 2010 at 4:28 pm
  • I have written/am writing a small paper, basically describing an implementation of a LISP-like language (“Server LISP”) aimed at client-server/cloud-based systems, incorporating persistence by ...
    Thomas LarsenThomas Larsen
    May 19, 2010 at 12:34 pm
    May 19, 2010 at 12:34 pm
  • Hi folks, Just came from a fun trip to China, and looking for an occasion to go back, and promote Cayenne at the same time :-) So more to the point... Apache Foundation is planning a Road Show event ...
    Andrus AdamchikAndrus Adamchik
    May 17, 2010 at 1:48 pm
    May 17, 2010 at 1:48 pm
  • The Travel Assistance Committee is now taking in applications for those wanting to attend ApacheCon North America (NA) 2010, which is taking place between the 1st and 5th November in Atlanta. The ...
    Aristedes ManiatisAristedes Maniatis
    May 17, 2010 at 9:12 am
    May 17, 2010 at 9:12 am
  • Hi, I have a question: I'm in a situation where I can't do optimistic locking routine and I wanted to check data integrity in validateForUpdate method. I need to change one property (and I did) but ...
    Marek ŠaboMarek Šabo
    May 15, 2010 at 1:46 am
    May 15, 2010 at 1:46 am
Group Navigation
period‹ prev | May 2010 | next ›
Group Overview
groupuser @

32 users for May 2010

Andrus Adamchik: 58 posts Gary Jarrel: 20 posts Joe Baldwin: 14 posts Andrew Lindesay: 13 posts Mgargano: 11 posts Michael Gentry: 10 posts Marek Šabo: 8 posts Mike Kienenberger: 7 posts Andrey Razumovsky: 6 posts Jin Xu: 6 posts Aristedes Maniatis: 5 posts Borut Bolčina: 5 posts Bryan Lewis: 5 posts Marcin Skladaniec: 4 posts Aristedes Maniatis: 3 posts Arnaud Garcia: 3 posts Mr.abanjo: 3 posts Steve Wells: 3 posts Sudheer: 3 posts Bob Schellink: 2 posts
show more