FAQ

Search Discussions

58 discussions - 200 posts

  • Hallo! My first question: How can I get the next autogenerated ID for a special table from cayenne? Because I want that even unregistered objects can have an ID ...
    Peter KarichPeter Karich
    Mar 26, 2007 at 7:55 pm
    Apr 10, 2007 at 9:04 pm
  • Hi, Sorry to repost that question, but I was not properly register to the mailing list, so I was unable to reply properly. I'm using Cayenne (2.0.2) with the apache web server (5.5.20) and I'm facing ...
    Marc Gabriel-WillemMarc Gabriel-Willem
    Mar 30, 2007 at 12:46 pm
    Apr 5, 2007 at 2:49 pm
  • Hello, I have just started "playing around" with Cayenne a couple weeks ago, so in other words I am a rookie. I am happy with the product so far, but I cannot figure out how to use the data ...
    SyrinxSyrinx
    Mar 14, 2007 at 7:39 pm
    Mar 15, 2007 at 3:43 pm
  • Hi Andrus (in particular), (Note: 3 tier Cayenne) we're finding that the postUpdate method is not being called if an operation is commenced on the server-side (like a data upgrade service). However, ...
    Lachlan DeckLachlan Deck
    Mar 14, 2007 at 6:52 am
    Mar 16, 2007 at 11:48 am
  • I am looking at a way to export and import data from a Derby database. Built into Derby itself is a tool which exports CSV or tab delimited data, but this has a range of problems with binary data and ...
    Aristedes ManiatisAristedes Maniatis
    Mar 9, 2007 at 10:25 am
    Mar 11, 2007 at 1:12 am
  • Hello, I have a named query defined as: SELECT COUNT(ticketId) AS cnt FROM tickets WHERE ticketClosed = 0 This is not working, how do I get the count returned? NamedQuery query = new ...
    FrankFrank
    Mar 23, 2007 at 2:59 pm
    Mar 23, 2007 at 3:23 pm
  • I am looking for a way to declare non persistent attributes using the cayenne modeler? I know that I can add my own attributes manually in the subclasses generated by the modeler, but it would be ...
    SyrinxSyrinx
    Mar 16, 2007 at 6:17 pm
    Mar 19, 2007 at 9:48 am
  • Folks, This is a bit OT, but I know there are a few or maybe more power users of Maven on this list. We are having a little chat whether to ditch Maven as an internal build system [1], [2]. Feel free ...
    Andrus AdamchikAndrus Adamchik
    Mar 14, 2007 at 4:51 pm
    Mar 15, 2007 at 12:49 pm
  • hi frank, what is the result you get? i would try it that way: Calendar c = new GregorianCalendar(); c.add(Calendar.DATE, -60); SelectQuery select = new SelectQuery(HRApplications.class, ...
    Peter SchröderPeter Schröder
    Mar 16, 2007 at 2:14 pm
    Mar 16, 2007 at 3:48 pm
  • I've downloaded the Cayenne 3.0 snapshot as referenced from the cayenne web site, and also built the latest code found in svn (including the 'mvn -P mac install' command), but still don't see a ...
    Randy LeonardRandy Leonard
    Mar 12, 2007 at 12:30 am
    Mar 14, 2007 at 1:52 am
  • Hi - I'm trying to import an EOModel with cayenne Modeler and i'm getting the exception pasted below. ABSTRACT_FOP is a table that has a super entity and 2 sub entities mapped to it. Is it not ...
    SimonSimon
    Mar 4, 2007 at 6:10 pm
    Mar 9, 2007 at 12:54 pm
  • Hi all, rather than using custom templates could we imagine to change current templates while adding something like the Commons Lang EqualsBuilder/HashCodeBuilder/ToStringBuilder in order to get self ...
    Jerome moliereJerome moliere
    Mar 7, 2007 at 3:51 pm
    Mar 8, 2007 at 7:54 am
  • Hello, My sort works fine until I set the Page Size. I need to limit the records per page as I have 35000 in table. Thanks Frank query.setPageSize(50); causes this error ...
    FrankFrank
    Mar 7, 2007 at 9:26 pm
    Mar 7, 2007 at 10:11 pm
  • I've read some earlier threads on Cayenne 3.0, and have a few questions: - Is Cayenne 3.0 Classic significantly different from Cayenne 2.x? - Could JPA modelling tools (e.g. Eclipse Dali, etc.) be ...
    Randy LeonardRandy Leonard
    Mar 7, 2007 at 10:23 am
    Mar 7, 2007 at 1:14 pm
  • In my application, I have a few queries that I've created with the SelectQuery class. In some instances, I'd like to order the results by the primary or foreign keys in the table using the ...
    Michael LepineMichael Lepine
    Mar 21, 2007 at 3:25 pm
    Mar 23, 2007 at 8:41 pm
  • Hello, I am getting hung up on passing int and long values to cayenne. In my MySQL database, all PK fields are defined as BIGINT. The PK in my cayenne schemas are defined as long ...
    FrankFrank
    Mar 19, 2007 at 3:56 pm
    Mar 20, 2007 at 1:31 pm
  • Hi! I've found the mutiple database example on cayennes homepage: http://cwiki.apache.org/CAY/multiple-databases-example.html That example is a pretty good resemblance of our current problem. What we ...
    Christian MittendorfChristian Mittendorf
    Mar 16, 2007 at 3:26 pm
    Mar 16, 2007 at 6:27 pm
  • Hi all, checking out with svn co https://svn.apache.org/repos/asf/cayenne/main/trunk/ cayenne gives me: ... A cayenne\docs\doc\src\main\resources\doc\Documentation\Remote Object Persistence ...
    Borut BolčinaBorut Bolčina
    Mar 14, 2007 at 8:36 pm
    Mar 15, 2007 at 1:04 pm
  • Hi there, I notice that CAY-228 is still open: https://issues.apache.org/cayenne/browse/CAY-228 Does anyone use these enough to comment on what works and what doesn't (i.e., particularly across ...
    Lachlan DeckLachlan Deck
    Mar 12, 2007 at 10:46 pm
    Mar 14, 2007 at 11:01 am
  • Hello, I made a small performance test comparing different Cayenne solutions with JDBC solutions. What I found was that in Insert operations, it is best to use Cayenne data objects (as opposed to raw ...
    Török PéterTörök Péter
    Mar 12, 2007 at 2:32 pm
    Mar 12, 2007 at 3:55 pm
  • Hi, maybe someone could make a wish at http://tapestryjava.blogspot.com/2007/03/t5-spring-integration-hibernate-next.html Cheers, Borut
    Borut BolčinaBorut Bolčina
    Mar 5, 2007 at 8:01 pm
    Mar 6, 2007 at 10:47 am
  • Hello, I just started playing a bit with Cayenne to find out how things work. Therefore I created a database (HSQL) with a single table and in the CayenneModeler set "Primary Key Generation Strategy" ...
    Manuel ThiemannManuel Thiemann
    Mar 1, 2007 at 9:49 am
    Mar 1, 2007 at 12:13 pm
  • Hi, I dealing with one of those overrun situations, where I have a process that deletes DataObjects, then immediately returns to the same table to select more, looping through the result set. Problem ...
    David NorwoodDavid Norwood
    Mar 30, 2007 at 1:48 am
    Mar 30, 2007 at 1:54 pm
  • All, I am a little new to databases so I apologise if this query is particularly incompetent. I have created a series of tables all of which are related to one central table with that central table ...
    Roja BuckRoja Buck
    Mar 23, 2007 at 8:19 pm
    Mar 23, 2007 at 8:45 pm
  • Hello, is the official source code of Cayenne 2.0.2 publicly available in a jar or zip somewhere? Thanks in advance, Péter
    Török PéterTörök Péter
    Mar 21, 2007 at 4:36 pm
    Mar 22, 2007 at 1:30 pm
  • Hello all. I am a fairly new user of Cayenne and am trying to get more familiar with the API and modeler. My question deals with an identity table. I have not seen any documentation (or examples in ...
    Michael LepineMichael Lepine
    Mar 21, 2007 at 3:20 pm
    Mar 21, 2007 at 3:56 pm
  • I would like to know if it's possible to change the configuration of the modeler in some way, so that a "class entity" would be generated as a subclass of a "my custom class" instead of ...
    SyrinxSyrinx
    Mar 16, 2007 at 2:48 pm
    Mar 16, 2007 at 3:01 pm
  • Hi, I'm using Cayenne (2.0.2) with the apache web server (5.5.20) and I'm facing to the following problem. When apache does an automatic deploy, all objects are serialized / deserialized without any ...
    Marc Gabriel-WillemMarc Gabriel-Willem
    Mar 13, 2007 at 11:55 am
    Mar 14, 2007 at 1:27 pm
  • Hello. I am a lifecycle callbacks newbie trying to understand http:// cwiki.apache.org/CAYDOC/lifecycle-callbacks.html in a ROP context. Can the callback methods be defined in the client ...
    Tore HalsetTore Halset
    Mar 9, 2007 at 11:13 pm
    Mar 10, 2007 at 3:43 pm
  • i think that there are different aproaches to this issue. you might use a custom query to delete the entry. or perhaps something like this ...
    Peter SchröderPeter Schröder
    Mar 8, 2007 at 10:09 am
    Mar 9, 2007 at 8:07 pm
  • Hi! I am new to Cayenne, and am having some problems. I have been able to populate some DB records, but when I try to set up a relationship, I get an NPE on the commit. I am using Cayenne 2.0.2. Here ...
    Eric FloehrEric Floehr
    Mar 6, 2007 at 6:37 pm
    Mar 7, 2007 at 6:41 pm
  • Hello, Using the ExpressionFactory, I am trying to locate records based on this sql: WHERE TYPE_ADMIT = '{s_admittype}' AND (active = 1) AND (LEN(LTRIM(ASSIGNED_ROOM_BED)) = 0) OR TYPE_ADMIT = ...
    FrankFrank
    Mar 6, 2007 at 7:34 pm
    Mar 7, 2007 at 4:20 pm
  • i am not quite sure, but i think that you have to use context.createAndRegister(MyType.class); instead of context.newObject(MyType.class); -----Ursprüngliche Nachricht----- Von: Eric Floehr ...
    Peter SchröderPeter Schröder
    Mar 7, 2007 at 7:19 am
    Mar 7, 2007 at 1:39 pm
  • i experienced the same problem. i thinks this was because of using objectFromDataRow() which puts the object into the dataRow-cache and will result in out-of-memory errors. as a workaround i used the ...
    Peter SchröderPeter Schröder
    Mar 6, 2007 at 4:52 pm
    Mar 6, 2007 at 4:59 pm
  • Hello I cant find a link to cayenne javadocs. I have them built from source, but it would be good to be able to email a link to someone. Marcin
    Marcin SkladaniecMarcin Skladaniec
    Mar 6, 2007 at 12:33 am
    Mar 6, 2007 at 10:30 am
  • you may provide the annotation @SuppressWarnings("unchecked") this will probably remove the warning in your IDE. the warning occurs, because of the performQuery returns just a List-Object wich is not ...
    Peter SchröderPeter Schröder
    Mar 5, 2007 at 7:58 am
    Mar 5, 2007 at 6:20 pm
  • Hi all, I just upgraded my jars from 1.2 to 1.2.2. I now find that a fetchFinished that used to work is no longer called. Is this a known bug? -arturo
    Arturo PérezArturo Pérez
    Mar 29, 2007 at 8:45 pm
    Mar 30, 2007 at 12:32 pm
  • Hey all, I am rather sorry to have to ask this as I am sure that it is utterly obvious to those in the know, however I am really struggling to get my head around how to make a many to many relation ...
    Roja BuckRoja Buck
    Mar 28, 2007 at 12:58 am
    Mar 28, 2007 at 12:40 pm
  • I overlooked the start of the Google Summer of Code program this year, but it is not too late yet for the students and mentors to sign up. See the details here ...
    Andrus AdamchikAndrus Adamchik
    Mar 26, 2007 at 1:22 pm
    Mar 26, 2007 at 2:15 pm
  • Hi Andrus, did you log this as a bug? And do you need anything else from me? At the moment I added a cronjob to restart the WebService every night which prevents this bug from causing any harm but I ...
    Ayhan KondozAyhan Kondoz
    Mar 15, 2007 at 1:46 pm
    Mar 15, 2007 at 4:21 pm
  • Hello, at http://cayenne.apache.org/download.html there is Cayenne 2.0: * groupId: org.apache.cayenne * artifactId: cayenne, cayenne-nodeps and cayenne-client-nodeps but there is no artifact cayenne ...
    Borut BolčinaBorut Bolčina
    Mar 12, 2007 at 12:58 pm
    Mar 12, 2007 at 1:12 pm
  • hi peter, you may use http://java.sun.com/j2se/1.4.2/docs/api/java/io/ObjectOutputStream.html to serialize any given object. but i guess thats not what you want. -----Ursprüngliche Nachricht----- ...
    Peter SchröderPeter Schröder
    Mar 9, 2007 at 7:29 am
    Mar 9, 2007 at 8:38 pm
  • How does one go about making a fault the way that EOF does? tia, arturo
    Arturo PérezArturo Pérez
    Mar 9, 2007 at 3:46 pm
    Mar 9, 2007 at 4:43 pm
  • Hello, I cannot get cayenne to l imit records based on a mysql date field. I tried two variations below. The date is stored as datetime and has a date & time value. I only need to limit records based ...
    FrankFrank
    Mar 7, 2007 at 4:07 pm
    Mar 7, 2007 at 7:38 pm
  • Hi list, I'd like to load mutliple cayenne.xml and use them in my project. I've managed to load them in mutliple datacontext by using the following code : DefaultConfiguration conf = new ...
    Eric BIANCHIEric BIANCHI
    Mar 6, 2007 at 4:40 pm
    Mar 6, 2007 at 4:51 pm
  • Hi all Using Cayenne 1.2.2, jdk5. In the modeler under cache configuration the "use shared cache" is disabled. This value I want to override programatically for example: boolean useSharedCache = ...
    BobBob
    Mar 2, 2007 at 10:15 pm
    Mar 5, 2007 at 11:16 am
  • Hi Prashant, Note that Cayenne user support is done via the mailing list, as it allows us to better share the community knowledge. I am ccy'ing the question to the list. Please feel free to continue ...
    Andrus AdamchikAndrus Adamchik
    Mar 23, 2007 at 11:41 am
    Mar 23, 2007 at 11:41 am
  • Hi All, Click Framework version 1.2 is now available. Click Framework supports Cayenne version 1.2. This is a substantial release with a range of new controls, including tree and charting controls, ...
    Malcolm EdgarMalcolm Edgar
    Mar 22, 2007 at 11:42 am
    Mar 22, 2007 at 11:42 am
  • Hi I use remote persistence, and I have a dozen objects in the context, and I would like to try to check if one of them can be deleted. Can I just call recordToBeDeleted.validateForDelete() before I ...
    Marcin SkladaniecMarcin Skladaniec
    Mar 20, 2007 at 1:44 am
    Mar 20, 2007 at 1:44 am
  • Hello, I need to show the last 60 days of records from my MySQL database. This is not working. private List filter() { Calendar c = new GregorianCalendar() ...
    FrankFrank
    Mar 16, 2007 at 1:46 pm
    Mar 16, 2007 at 1:46 pm
Group Navigation
period‹ prev | Mar 2007 | next ›
Group Overview
groupuser @
categoriescayenne
discussions58
posts200
users39
websitecayenne.apache.org

39 users for March 2007

Andrus Adamchik: 42 posts Frank: 17 posts Mike Kienenberger: 15 posts Peter Schröder: 11 posts Peter Karich: 10 posts Török Péter: 7 posts Aristedes Maniatis: 6 posts Michael Gentry: 6 posts Syrinx: 6 posts Lachlan Deck: 5 posts Marc Gabriel-Willem: 5 posts Marcin Skladaniec: 5 posts Randy Leonard: 5 posts Jerome moliere: 4 posts Michael Lepine: 4 posts Tore Halset: 4 posts Ahmed Mohombe: 3 posts Arturo Pérez: 3 posts Borut Bolčina: 3 posts Eric Floehr: 3 posts
show more
Archives