FAQ

Search Discussions

18 discussions - 65 posts

  • Hello all, I have a dbEntity with thre foreign keys that are also its primary keys. During the application I fill all three fields correctly with the objects that should be referenced. Before the ...
    Bruno René SantosBruno René Santos
    Jul 31, 2011 at 9:09 am
    Aug 9, 2011 at 1:49 pm
  • Hi Guys, I have an issue with using setFetchOffset & setFetchLimit together with SQL Server 2008 R2. Basically the code looks something like this: SelectQuery query = ...
    Gary JarrelGary Jarrel
    Jul 20, 2011 at 2:52 pm
    Jul 26, 2011 at 11:38 am
  • Hello all, I dont know if this is correct but the Linux binary distribution on the site only has the compiled classes and no jars... And the source code raises some kind of error when I try to ...
    Bruno René SantosBruno René Santos
    Jul 19, 2011 at 2:45 pm
    Jul 19, 2011 at 4:48 pm
  • Hi all, I was trying to push a query through parser today and it didn't make it. "SELECT stt FROM SubTaskType stt ORDER BY ABS(stt.code) ASC" Exception is below, my question being whether it is ...
    Marek ŠaboMarek Šabo
    Jul 11, 2011 at 2:37 pm
    Jul 12, 2011 at 7:14 am
  • I get this on the tar tar: Cannot open -: Bad file descriptor tar: Error is not recoverable: exiting now http://mirrors.fe.up.pt/pub/apache//cayenne/cayenne-3.0.2-src.tar.gz Regards Bruno -- Bruno ...
    Bruno René SantosBruno René Santos
    Jul 21, 2011 at 9:10 am
    Jul 21, 2011 at 1:58 pm
  • The page: http://cayenne.apache.org/doc/cgen.html describes a tag: supertemplate By activating Maven debuging, I was able to determine that this tag is actually: superTemplate And that it is case ...
    Joseph SenecalJoseph Senecal
    Jul 20, 2011 at 7:49 am
    Jul 21, 2011 at 11:44 am
  • I'm having an issue where prefetching a flattened relationship seems to skip rows or fetch them from a stale cache. In my test case, I can verify via mysql that the join table has 5 rows, yet ...
    TadTad
    Jul 19, 2011 at 8:16 pm
    Jul 20, 2011 at 5:11 pm
  • Hi, I'm back again. I've configured Maven to automatically generate java files from the model, but it looks like cgen has some dependancies that aren't being met. 7/18/11 7:33:56 PM PDT: Maven ...
    Joseph SenecalJoseph Senecal
    Jul 19, 2011 at 2:43 am
    Jul 19, 2011 at 5:04 pm
  • Hi, this is similar to https://issues.apache.org/jira/browse/CAY-1379. I have a to-one relationship from table A to B. When I call b = a.getB() I am sometimes getting a non-null result even though a ...
    Wernke zur BorgWernke zur Borg
    Jul 19, 2011 at 1:16 pm
    Jul 19, 2011 at 3:10 pm
  • Hi there, I have an application that needs to perform a lot (~4000) of "INSERT .. ON DUPLICATE ..." operations to a MySQL databases. My Java code looks like this: long id = ....; long time = .... ...
    Marc O'MorainMarc O'Morain
    Jul 13, 2011 at 5:00 pm
    Jul 13, 2011 at 9:58 pm
  • Hi all, I'm new to both Cayenne and Maven. I'm trying to configure Maven for Cayenne version 3.1M2, but I get the following errors: 7/18/11 4:52:49 PM PDT: [WARN] The POM for ...
    Joseph SenecalJoseph Senecal
    Jul 19, 2011 at 12:08 am
    Jul 19, 2011 at 2:12 am
  • I would like to use the QueryLogger from within my data objects directly. Is this possible? If not, I suppose I write a custom superclass and refactor. Has anyone else done something like this? ...
    Kuhns, JohnKuhns, John
    Jul 13, 2011 at 4:17 pm
    Jul 13, 2011 at 7:33 pm
  • Hi, I'm using a legacy database with old data. There are null values in fields which have a specific meaning. The legacy systems handle this in the code. In my new code I do not want to add such ...
    Hans PikkemaatHans Pikkemaat
    Jul 6, 2011 at 9:21 am
    Jul 6, 2011 at 11:12 am
  • I'd like to make a custom cgen template, but I need the default template to use as a model. I tried looking for it in the cayenne jar files, but haven't had any luck. Could someone please direct me ...
    Joseph SenecalJoseph Senecal
    Jul 20, 2011 at 2:09 am
    Jul 20, 2011 at 4:49 am
  • I can now get the plugin to run, but it doesn't seem to be doing anything. I found some mistakes in my configuration. I figure there must be something else simple that I'm missing, but I'm just not ...
    Joseph SenecalJoseph Senecal
    Jul 19, 2011 at 7:30 pm
    Jul 19, 2011 at 8:01 pm
  • I've come across a situation where I need to short-circuit all database writes and deletes for a third-party application. I am using Cayenne 3.0. On the prePersist and preUpdate callbacks, the data ...
    Kuhns, JohnKuhns, John
    Jul 13, 2011 at 4:15 pm
    Jul 14, 2011 at 11:59 am
  • With OpenSymphony announcing its shutdown recently (see http://www.opensymphony.com/ ), we thought that it would make sense to have a cache provider alternative to OSCache. Of course OSCache is still ...
    Andrus AdamchikAndrus Adamchik
    Jul 29, 2011 at 7:10 am
    Jul 29, 2011 at 7:10 am
  • Is there a way to make the modeler ignore existing DB tables that I don't want it to touch, during reverse engineering and (especially) migration? I have a unique business constraint that requires me ...
    TadTad
    Jul 11, 2011 at 7:51 pm
    Jul 11, 2011 at 7:51 pm
Group Navigation
period‹ prev | Jul 2011 | next ›
Group Overview
groupuser @
categoriescayenne
discussions18
posts65
users14
websitecayenne.apache.org
Archives