FAQ

Search Discussions

40 discussions - 160 posts

  • I use cayenne 1.2, MySql. AUTO_INCREMENT ids the type of the id field in the mysql schema is set to INT NOT NULL AUTO_INCREMENT UNIQUE I create an object of this table with cayenne and commit. I see ...
    Tobias SCHOESSLERTobias SCHOESSLER
    Aug 28, 2006 at 9:22 am
    Oct 2, 2006 at 8:35 am
  • Is there a way to tell Cayenne to return some other value than null when the database contains null? E.g. for String I want an empty string instead of null, for Integer I want 0 instead of null, ...
    Øyvind HarboeØyvind Harboe
    Aug 3, 2006 at 8:03 pm
    Aug 4, 2006 at 1:40 pm
  • I've been tasked with designing a system, including it's database to capture data which changes through time but shouldn't overwrite existing values. I've also ran into other people describing these ...
    Tomi NATomi NA
    Aug 25, 2006 at 3:12 pm
    Aug 29, 2006 at 11:19 am
  • Hallo Cayenne Community, I like your project! But I can't get a simple Example to run. I used the newest hsqldb and the newest cayenne.jar (I tried also your hsqldb-1.8.0.2.jar from the modeler). Now ...
    Peter karichPeter karich
    Aug 3, 2006 at 3:26 pm
    Aug 5, 2006 at 9:57 am
  • Hi, maybe someone can help me here. I'm trying to copy a dataObject to another dataContext while keeping it's modified state so that it will be correctly committed to the db by the second ...
    Jonathan BélisleJonathan Bélisle
    Aug 27, 2006 at 8:33 pm
    Aug 30, 2006 at 7:36 pm
  • I need a matchExp which is case insensitve. When I run against MS Access, then matchExp is indeed case insensitive, whereas when I run against Derby, it is not. likeIgnoreCaseExp is *almost* what I'm ...
    Øyvind HarboeØyvind Harboe
    Aug 1, 2006 at 9:21 pm
    Aug 2, 2006 at 1:55 pm
  • Here's where I'm finding that I need outer joins: 1) If two qualifiers for a non-mandatory relationship path are or'd together. This is also what Øyvind Harboe reported. It may be that the ...
    Mike KienenbergerMike Kienenberger
    Aug 23, 2006 at 7:36 pm
    Aug 29, 2006 at 9:35 am
  • Q1: Do the results of Expression.filterObjects() for all records in a table and the same expression used in SelectQuery always match? I hope the answer is "not currently, but once outer joins are ...
    Øyvind HarboeØyvind Harboe
    Aug 24, 2006 at 7:43 am
    Aug 28, 2006 at 3:46 pm
  • Outer joins are not supported, I know. Meanwhile I miss being *told* when I'm attempting an outer join, minimally runtime. One of the reasons I'm using Cayenne is that I don't want to think about ...
    Øyvind HarboeØyvind Harboe
    Aug 17, 2006 at 7:24 am
    Aug 17, 2006 at 4:09 pm
  • Hi, I returned to one of my web apps using Cayenne. I reconfigured the project to use WTP 1.5, Maven2 + M2 Eclipse plugin and Tapestry and now I am not being able to run the web app because of the ...
    Borut BolčinaBorut Bolčina
    Aug 4, 2006 at 6:36 pm
    Aug 8, 2006 at 8:15 pm
  • Hallo! In You docs I found: "If entity A has a relationship to entity B and entity B has a relationshop back to entity A, Cayenne would maintain consistency of the reverse relationship ...
    Peter KarichPeter Karich
    Aug 14, 2006 at 7:42 pm
    Aug 16, 2006 at 2:05 pm
  • Is there a way to create an expression that is TRUE or FALSE? ExpressionFactory.expTrue/False() - always true/false. This would be useful when writing functions that e.g. return an Expression whether ...
    Øyvind HarboeØyvind Harboe
    Aug 15, 2006 at 7:50 pm
    Aug 15, 2006 at 8:09 pm
  • Lately I've been getting this error a lot. Nothing has changed on my end. Any suggestions as to what could be causing the problem? The environment is Linux, Tomcat 5.0 and mysql. Cayenne is ...
    PerezPerez
    Aug 13, 2006 at 5:28 pm
    Aug 14, 2006 at 11:20 pm
  • Hello This method: DataContext.objectFromDataRow(String, DataRow) exist not in cayenne-1.2 (is however described here http://cwiki.apache.org/CAYDOC/data-rows.html and in local User-Guide from ...
    Nikolai RaitsevNikolai Raitsev
    Aug 3, 2006 at 11:57 am
    Aug 3, 2006 at 12:22 pm
  • Hello all, I hope, this is my last question...:) Example: I would like to perform a copy from table 1 ("InterfaceTable") to table 2 ("BaseTable"). On both tables i have defined business objects (with ...
    Nikolai RaitsevNikolai Raitsev
    Aug 2, 2006 at 9:46 pm
    Aug 3, 2006 at 6:37 am
  • Hello all, I have a problem running Cayenne with DB2 UDB I have a following code: Setting connection properties: /// DataSource dataSource = new PoolManager("com.ibm.db2.jcc.DB2Driver", ...
    Nikolai RaitsevNikolai Raitsev
    Aug 1, 2006 at 8:49 am
    Aug 2, 2006 at 7:58 am
  • I have some old code that I've been running for a long time. It creates a caching SelectQuery like this: SelectQuery query = new SelectQuery("MyEntityName") ...
    Bryan LewisBryan Lewis
    Aug 1, 2006 at 6:52 pm
    Aug 1, 2006 at 7:56 pm
  • Has anyone used Cayenne with GlassFish? I was thinking we should add something to: http://wiki.java.net/bin/view/Projects/GlassFishExtras#frameworks I can't think of any reason why Cayenne wouldn't ...
    Michael GentryMichael Gentry
    Aug 21, 2006 at 1:03 pm
    Aug 30, 2006 at 2:33 am
  • I'm getting an exception when I try to invoke andExp() on a Scalar expression: Expression e=new ASTScalar(Boolean.TRUE); e=e.andExp(ExpressionFactory.matchExp(propName + (i+1), t)); [v.1.2-dev July ...
    Øyvind HarboeØyvind Harboe
    Aug 16, 2006 at 8:47 pm
    Aug 22, 2006 at 6:44 am
  • Hi All, I am currently having problems integrating Flex Data Services with Cayenne. With the Flex 2 design patterns, I have a corresponding ActionScript DataObject on the client, with is then ...
    Malcolm EdgarMalcolm Edgar
    Aug 17, 2006 at 11:33 am
    Aug 17, 2006 at 1:48 pm
  • Check out the new 1.2.1 maintenance release. It contains a number of bug fixes. For details see the blog entry: http://objectstyle.org/confluence/display/CAY/2006/08/30/ Cheers, Andrus
    Andrus AdamchikAndrus Adamchik
    Aug 30, 2006 at 8:57 am
    Aug 30, 2006 at 9:10 am
  • Hi ! How safe would be to go from v.3.0-PROTO June 21 to current snapshot, or saying the same in different words :how stable is current build ? I'm considering using it in production, as cayenne 1.2 ...
    Marcin SkladaniecMarcin Skladaniec
    Aug 23, 2006 at 2:21 pm
    Aug 23, 2006 at 2:41 pm
  • Are we able to use @sum, @count, etc in a valueForKey type construct like with WebObjects, etc.? http://www.gnustep.org/resources/documentation/Developer/GDL2/ EOControl/EOKeyValueCoding.html This ...
    Aristedes ManiatisAristedes Maniatis
    Aug 23, 2006 at 8:27 am
    Aug 23, 2006 at 9:51 am
  • Hello @ all, in which order(sorting) the querys are executed on commit? I have some delete/insert statements in a single transaction and it is important, that the delete statements are executed at ...
    Thilko RichterThilko Richter
    Aug 23, 2006 at 7:59 am
    Aug 23, 2006 at 8:04 am
  • Hi, I am trying to set up an error page in my web application that sends error details to me. I can easily get the stack trace and other variables but I can't the heck find out how to get the last ...
    Andreas PardeikeAndreas Pardeike
    Aug 18, 2006 at 12:05 pm
    Aug 18, 2006 at 2:12 pm
  • Hello, is there a nice way to sort a List of Cayenne-Objects on o primary-key-field, e.g. "id" (pk) in memory, because the user can resort the existing list more than one time. I don't want to read ...
    Zvonimir SpajicZvonimir Spajic
    Aug 17, 2006 at 2:11 pm
    Aug 17, 2006 at 2:15 pm
  • Hi, I am using Cayenne 1.2 final release and the following code: public AiAboangebot copyToNewAngebot(AiAboangebot toCopy) { ctx.commitChanges(); List ur = new ArrayList(); Integer nextId = ...
    Hans SchmidtHans Schmidt
    Aug 16, 2006 at 1:46 pm
    Aug 16, 2006 at 2:16 pm
  • Using cayenne [v.3.0-PROTO June 21 2006] sometimes we get exception : Caused by: com.caucho.hessian.io.HessianServiceException: actual code point, 4692 does not match expected code point, 9224 at ...
    Marcin SkladaniecMarcin Skladaniec
    Aug 16, 2006 at 2:11 am
    Aug 16, 2006 at 2:29 am
  • Hello, me again troubling you... I just read the http://cwiki.apache.org/confluence/display/CAYDOC/Remote+Object+Persistence+Guidein search of the solution. If someone read my posting about "Database ...
    Borut BolčinaBorut Bolčina
    Aug 8, 2006 at 8:52 pm
    Aug 10, 2006 at 1:45 pm
  • Hi All, I am trying to intregrate Cayenne with Adobe Flex Data Services. I am finding a nasty compatability problem between the 2 framework designs. Adobe uses a POJO assembler pattern when it is ...
    Malcolm EdgarMalcolm Edgar
    Aug 10, 2006 at 5:35 am
    Aug 10, 2006 at 5:57 am
  • I have this code that deletes a list of calendar records for a deactivated employee: Expression nameExp = ExpressionFactory.matchExp("name", name); SelectQuery query = new SelectQuery(Calendar.class, ...
    Bryan LewisBryan Lewis
    Aug 7, 2006 at 2:37 pm
    Aug 7, 2006 at 2:51 pm
  • Hello, i need to make a custom SQL query where the resultSet doesn't match any of the dataMap's. My SQL query only returns a list of id's. Something like this SELECT customer.id FROM customer c WHERE ...
    Ayhan KondozAyhan Kondoz
    Aug 3, 2006 at 8:43 am
    Aug 3, 2006 at 12:20 pm
  • I don't have time to clean it up, but if anyone wants to preview the outer join / audit patch, I'll be happy to send the 128K patch for Cayenne 1.2 directly to them.
    Mike KienenbergerMike Kienenberger
    Aug 28, 2006 at 10:17 pm
    Aug 28, 2006 at 10:17 pm
  • Hello ! We were using v.3.0-PROTO for some time now, and suddenly we started to get some weird errors from cayenne (see bottom of this post). We started to have those error when number of records was ...
    Marcin SkladaniecMarcin Skladaniec
    Aug 28, 2006 at 7:40 am
    Aug 28, 2006 at 7:40 am
  • Now that I've looked at the BatchQuery object, this was a naive question :-) The BatchQuery contains EXACTLY the information I need. Thanks for being patient :-) Furthermore, I don't think I need to ...
    Mike KienenbergerMike Kienenberger
    Aug 26, 2006 at 7:58 pm
    Aug 26, 2006 at 7:58 pm
  • Ich bin ab 25.08.2006 nicht im Büro und bin ab 12.09.2006 wieder anwesend. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. In dringenden Fällen wenden Sie sich Bitte an Heiko Erhardt.
    Florian EskaFlorian Eska
    Aug 25, 2006 at 6:47 am
    Aug 25, 2006 at 6:47 am
  • Hello, I was searching the archives on what would be the best way to move objects between data contexts. Beside http://cwiki.apache.org/CAYDOC/moving-objects-between-contexts.html I found this thread ...
    Borut BolčinaBorut Bolčina
    Aug 18, 2006 at 6:33 am
    Aug 18, 2006 at 6:33 am
  • My apologies if this is off-topic for this list, but it might be relevant to some developers on this list in Australia. We at ish are looking for an experienced programmer with Cayenne (or similar ...
    Aristedes ManiatisAristedes Maniatis
    Aug 8, 2006 at 11:15 pm
    Aug 8, 2006 at 11:15 pm
  • Hi all, I am endeavouring to use XMPP for event notification between two separate clients. I have two problems. First, I don't get any rolledback or flushed events. Has anyone experienced such a ...
    MarcelMarcel
    Aug 4, 2006 at 12:31 am
    Aug 4, 2006 at 12:31 am
  • Hi All, Click Framework 1.0 RC1 is now available. Click Framework is an easy to learn and use J2EE web application framework. Click is designed for web app development by commercial Java teams. With ...
    Malcolm EdgarMalcolm Edgar
    Aug 1, 2006 at 10:49 pm
    Aug 1, 2006 at 10:49 pm
Group Navigation
period‹ prev | Aug 2006 | next ›
Group Overview
groupuser @
categoriescayenne
discussions40
posts160
users29
websitecayenne.apache.org

29 users for August 2006

Andrus Adamchik: 32 posts Mike Kienenberger: 27 posts Øyvind Harboe: 22 posts Marcin Skladaniec: 7 posts Gentry, Michael \(Contractor\): 6 posts Jonathan Bélisle: 6 posts Malcolm Edgar: 6 posts Nikolai Raitsev: 6 posts Peter Karich: 6 posts Bryan Lewis: 5 posts Tobias SCHOESSLER: 5 posts Borut Bolčina: 4 posts Tomi NA: 4 posts Eric Lazarus: 3 posts Tore Halset: 3 posts Aristedes Maniatis: 2 posts Borut Bolčina: 2 posts Joshua Pyle: 2 posts Perez: 2 posts Florian Eska: 1 post
show more
Archives