Search Discussions

25 discussions - 164 posts

  • I'm getting the following error: ------------ Can't get primary key from temporary id ------------ while trying to access the 'id' of a newly created object entity A. I need this 'id' to write the ...
    Joseph SchmidtJoseph Schmidt
    Apr 7, 2009 at 10:27 pm
    Apr 23, 2009 at 8:58 am
  • Hi all! I tried to compile and run the cayenne example for remoting [1]. After some changes to the pom I got it compiling, but I am sure I changed the wrong things so it gives me an exception if I ...
    Apr 23, 2009 at 11:44 am
    Apr 29, 2009 at 7:23 pm
  • I *think* this is a life-cycle question, but there may be more to it. Proposed Design: 1. Standard Web page JSP using Tomcat server. 2. One of the JSP's accesses a singleton. 3. The singleton ...
    Joe BaldwinJoe Baldwin
    Apr 8, 2009 at 9:45 pm
    Apr 14, 2009 at 10:03 pm
  • We occasionally make database schema changes. We also modify some of the attributes of ObjEntity entries. It looks like a reverse engineering run would ignore any changes to ObjEntity entries. Is ...
    Weddle, AnthonyWeddle, Anthony
    Apr 9, 2009 at 3:18 am
    Apr 9, 2009 at 9:05 pm
  • Hi Everyone, I am new to Cayenne. I was looking at the examples in the wiki, especially at the pet store: http://cwiki.apache.org/CAY/cayenne-petstore.html So far, I like what I see. The above page ...
    Ylan SegalYlan Segal
    Apr 20, 2009 at 7:31 pm
    May 4, 2009 at 10:34 pm
  • So, I was playing around a bit with the "is abstract" flag on abstract entities. I confess that it didn't quite work the way I thought it would. For one, the superclass was abstract, but not the ...
    Robert ZeiglerRobert Zeigler
    Apr 23, 2009 at 11:17 pm
    Apr 9, 2012 at 11:40 am
  • We're looking at moving from Hibernate to Cayenne but I'm having trouble finding out how to perform queries that return arbitrary data, maybe they are sometimes called report queries. Something like ...
    Weddle, AnthonyWeddle, Anthony
    Apr 8, 2009 at 5:41 am
    Apr 13, 2009 at 10:00 pm
  • I am composing a SelectQuery and want to include an expression to narrow my results based upon the primary key (just an int ID) as well as other criteria. I am using the ExpressionFactory to generate ...
    Dave LamyDave Lamy
    Apr 2, 2009 at 4:54 pm
    Apr 7, 2009 at 4:43 pm
  • Hi, I've got three entities, A, B, and C and three to-one relationships (A- B, B- C, C- A). When I fire code like that: A a = context.newObject(A.class); B b = context.newObject(B.class) ...
    Andrey RazumovskyAndrey Razumovsky
    Apr 15, 2009 at 12:37 pm
    Jul 10, 2009 at 8:31 am
  • I have a table with ~683k entries in it. I have a maintenance task that requires me to hit every entry. Since I know the results are much too big to return all at once, I've set the page size to 50 ...
    Paul Logasa Bogen IIPaul Logasa Bogen II
    Apr 13, 2009 at 12:43 am
    Apr 13, 2009 at 4:07 am
  • Howdy guys, I'm trying to use EJBQL query and parameters, but I can't get it to work. Is there something special for ? Bellow is a quick sample of what I'm doing : String queryString = "SELECT ...
    Francois EylFrancois Eyl
    Apr 8, 2009 at 9:48 am
    Apr 9, 2009 at 2:44 pm
  • We have some apps running on an Oracle 8i database. Wow, almost 10 years old. Cayenne 2 has been working great. When I tried updating to Cayenne 3, I got a syntax error in a particular bit of SQL ...
    Bryan LewisBryan Lewis
    Apr 13, 2009 at 4:33 pm
    Apr 13, 2009 at 8:50 pm
  • Hi, would it be possible to add one method in DataObjectUtils, DataObjectA dataObjectA = DataObjectUtils.objectForPK(dataContext, DataObjectA.class, 1, QueryCacheStrategy.NO_CACHE); which would ...
    Borut BolčinaBorut Bolčina
    Apr 6, 2009 at 11:37 am
    Apr 6, 2009 at 9:29 pm
  • Hello, I created an Object Select Query in the Modeller which selects * from table Vehicles. The query has a qualifier (plate = $plate). In Result Caching I selected Shared Cache and unchecked the ...
    Nikos ParaschouNikos Paraschou
    Apr 21, 2009 at 9:28 am
    Apr 21, 2009 at 11:48 am
  • Hi, I've got a problem regarding queries on uncommitted DataContexts containing new or deleted objects. If I insert a new object into a DataContext using newObject(), this object won't show up in a ...
    Markus LuxMarkus Lux
    Apr 25, 2009 at 5:27 pm
    Apr 28, 2009 at 9:17 am
  • Trying to delete object entities with Cayenne 3M5 doesn't seem to work anymore - it used to work with 2.0 :(. I'm getting the error message: java.lang.NoSuchMethodError ...
    Joseph SchmidtJoseph Schmidt
    Apr 8, 2009 at 5:48 pm
    Apr 11, 2009 at 1:38 am
  • Hi everyone, a newbie question .... Is fetchOffset supported on Sybase ? i did some test with cayennne 3 with SelectQuery and fetch offset and running code like this: SelectQuery query = new ...
    Marco GatteiMarco Gattei
    Apr 24, 2009 at 9:01 am
    Apr 24, 2009 at 10:24 am
  • The documentation talks of removing validation as a concern of the GUI, by using object validation that gets done before any commits. However, validation can continue to be needed in the GUI since it ...
    Weddle, AnthonyWeddle, Anthony
    Apr 13, 2009 at 11:26 pm
    Apr 13, 2009 at 11:52 pm
  • This might be an obvious question but I couldn't find it in the list and docs. In our old Cayenne-2-based apps, we selectively pruned the query logging to avoid cluttering our log files with ...
    Bryan LewisBryan Lewis
    Apr 3, 2009 at 7:51 pm
    Apr 6, 2009 at 1:23 am
  • The "lib/third-party" contains several jar files required as dependency. http://cayenne.apache.org/doc/jar-files-and-dependencies.html describes some of them but not all :(. What about?: asm-3.0.jar ...
    Joseph SchmidtJoseph Schmidt
    Apr 1, 2009 at 7:15 pm
    Apr 2, 2009 at 10:26 am
  • Hi List, Before I start, here's what we currently use: Cayenne 2.0.4 MSSQL Server 2005 with jTDS Driver In our application we define the following connection pool ...
    Detlef BurtDetlef Burt
    Apr 23, 2009 at 9:10 am
    Apr 23, 2009 at 9:48 am
  • Hello list I am looking for examples of using EntityResult and SQLResultSetMapping. I read the explanation in the Cayenne 3.0 docs but was not able to get things to work. The reason for this is that ...
    Adrian WiesmannAdrian Wiesmann
    Apr 22, 2009 at 9:34 pm
    Apr 22, 2009 at 9:34 pm
  • Just a reminder that open-source software is a collaboration, not a product. Please adjust your expectations accordingly. Proprietary software is a product. You acquire or pay for something and ...
    Mike KienenbergerMike Kienenberger
    Apr 21, 2009 at 1:38 pm
    Apr 21, 2009 at 1:38 pm
  • Hello guys, I encountered a strange behavior with prefetch using Expression. Let's explain the context: I have two object entities, Machine and MachineAux, there is a relationship between them on the ...
    Francois EylFrancois Eyl
    Apr 17, 2009 at 4:21 pm
    Apr 17, 2009 at 4:21 pm
  • This would have been my first choice too, but I saw no support in Cayenne Modeler for entering additional interfaces - only one super class :(. This looks like a very nice application :). (I haven't ...
    Joseph SchmidtJoseph Schmidt
    Apr 2, 2009 at 10:53 am
    Apr 2, 2009 at 10:53 am
Group Navigation
period‹ prev | Apr 2009 | next ›
Group Overview
groupuser @

32 users for April 2009

Andrus Adamchik: 24 posts Robert Zeigler: 16 posts Aristedes Maniatis: 13 posts Joseph Schmidt: 13 posts Weddle, Anthony: 13 posts Michael Gentry: 9 posts Andrey Razumovsky: 8 posts Peter Karich: 8 posts Dave Lamy: 6 posts Mike Kienenberger: 6 posts Bryan Lewis: 5 posts Francois Eyl: 5 posts Ylan Segal: 4 posts Borut Bolčina: 3 posts Lawrence Gerstley: 3 posts Nikos Paraschou: 3 posts Paul Logasa Bogen II: 3 posts Robert Zeigler: 3 posts Joe Baldwin: 2 posts John Armstrong: 2 posts
show more