Search Discussions

41 discussions - 171 posts

  • Hi, I'm a new Cayenne user and I'm trying to create a many to many relationship. This is the whole situation: Entity<<- NameRelation<<- Name NameRelation has a composed key id_entity, id_name I ...
    Marco turchiMarco turchi
    Dec 8, 2006 at 3:53 pm
    Sep 30, 2010 at 6:51 pm
  • Hello List, Maybe a very stupid question, but I am stuck. I downloaded the lates version of Cayenne (2.0.1) with the MacOSX CayenneModeler. I simply copied the modeler in Applications. When I start ...
    Alexander LambAlexander Lamb
    Dec 7, 2006 at 7:43 pm
    Dec 7, 2006 at 9:42 pm
  • Hello, I have been working some with Hibernate, and while I like a lot of what it has to offer, but I am constantly frustrated with things that would be a no brainier sql query, that takes hours if ...
    Terry JeskeTerry Jeske
    Dec 21, 2006 at 12:34 am
    Dec 23, 2006 at 5:06 pm
  • Hi there, I posted this yesterday again. But have just seen that I forgott the subject. Sorry for that What I would like to know is how does cayenne handle java.util.date values ? My problem is, that ...
    Lothar KrenzienLothar Krenzien
    Dec 5, 2006 at 1:27 pm
    Dec 11, 2006 at 12:01 pm
  • I have discovered that I assumed that "Nullify" was default. Reading the wiki page below, I miss an explanation of why "No action" is default or why "No action" exists at all. I would have preferred ...
    Øyvind HarboeØyvind Harboe
    Dec 3, 2006 at 7:28 pm
    Dec 6, 2006 at 8:22 pm
  • Hallo, in our application we loose sometimes the reference to a mandatory foreign object (not null, foreign key) Our object relation are Export Container - products product - client product - image ...
    Florian EskaFlorian Eska
    Dec 20, 2006 at 3:52 pm
    Dec 21, 2006 at 10:09 am
  • One thing that has caused us a lot of grief is that database null is represented as Java null pointer for e.g. strings, etc. 99.99999% of all exceptions in our app are NPE's. Does Cayenne require ...
    Øyvind HarboeØyvind Harboe
    Dec 14, 2006 at 8:11 am
    Dec 15, 2006 at 1:58 pm
  • Hallo, After creating the database schema I can successfully insert objects. But if I will do the schema creation (DbGenerator.runGenerator) after I already have some objects in the database (so the ...
    Peter KarichPeter Karich
    Dec 14, 2006 at 1:49 pm
    Dec 21, 2006 at 6:42 am
  • I'm struggling with a crash in our app and I believe I have understood what is wrong. - Using Tomcat - Marking a Cayenne Data Object as a persistent Tapestry property will cause it to be put into the ...
    Øyvind HarboeØyvind Harboe
    Dec 18, 2006 at 3:06 pm
    Dec 18, 2006 at 9:42 pm
  • Hi, I the following transaction I insert a new record into a table, then directly run rules on the data inserted and call an update to set specific columns after running the rules. See the following ...
    David NorwoodDavid Norwood
    Dec 7, 2006 at 2:45 pm
    Dec 7, 2006 at 3:34 pm
  • Hi, if I use public static void *orderList*(java.util.List objects, java.util.List orderings) from the Ordering-Class for sorting date-values it behaves like a toString() from the date-values is ...
    Juergen SaarJuergen Saar
    Dec 4, 2006 at 11:53 am
    Dec 4, 2006 at 2:37 pm
  • Hi I was hoping to use this // TODO: Andrus, 1/19/2006: implement for nested DataContexts public void rollbackChangesLocally() { if (getChannel() instanceof DataDomain) { rollbackChanges(); } else { ...
    Edward pederssonEdward pedersson
    Dec 5, 2006 at 4:58 pm
    Nov 26, 2007 at 12:20 pm
  • Hello, I used CayenneModeler to design my tables and classes and would like to generate the corresponding SQL, to update my MySQL database. But unfortunately, the "create FK support" option doesn't ...
    Landry SoulesLandry Soules
    Dec 6, 2006 at 10:20 pm
    Dec 7, 2006 at 9:47 pm
  • I've turned on Tomcat clustering on an existing application, and thus the session-bound user DataContext is being serialized across the wire. Whenever I connect to a Tomcat node, the nodes that are ...
    Cris DanilukCris Daniluk
    Dec 1, 2006 at 3:49 pm
    Dec 7, 2006 at 8:34 am
  • thx, thats what i hoped it would do ;-) -----Ursprüngliche Nachricht----- Von: Andrus Adamchik Gesendet: Montag, 11. Dezember 2006 18:12 An: cayenne-user@incubator.apache.org Betreff: Re ...
    Peter SchröderPeter Schröder
    Dec 12, 2006 at 8:33 am
    Dec 17, 2006 at 11:28 am
  • Hi there, I am experiencing a deadlock issue which looks similar to CAY-297. I understand CAY-297 was fixed in release 1.1 but I am using version 1.2.1 and the deadalock issue arises. When I set ...
    John GunningJohn Gunning
    Dec 8, 2006 at 4:15 pm
    Dec 12, 2006 at 1:06 pm
  • Hello. I want to try out Slony-I replication solution for PostgreSQL. It does not handle oid-blobs, so I must use bytea instead. This is okay as my blobs are not that big. PostgreSQL has a blob ...
    Tore HalsetTore Halset
    Dec 7, 2006 at 10:14 am
    Dec 7, 2006 at 10:31 am
  • Hi I create a really long org.cayenne.exp.Expression. The longest I created so far, had 63000 characters as string. The problem is that after reaching certain (not sure what size, need to test more) ...
    Marcin SkladaniecMarcin Skladaniec
    Dec 6, 2006 at 1:56 am
    Dec 6, 2006 at 8:07 am
  • Hi All! Just came across some interesting behavior while creating Raw Select Queries in the modeler. If my query looks like: SELECT #result('count(*)' 'int' 'RECORDCOUNT') FROM message JOIN user ON ...
    Gary JarrelGary Jarrel
    Dec 26, 2006 at 9:25 am
    Dec 26, 2006 at 11:35 am
  • hi, i am currently using cayenne with jndi resources. i use the cayenne-modeler as a fallback as discribed here: http://cwiki.apache.org/CAYDOC/using-jndi.html which works fine till yesterday, where ...
    Peter SchröderPeter Schröder
    Dec 20, 2006 at 2:23 pm
    Dec 21, 2006 at 5:32 am
  • hi, i am currently creating raw-sql queries in the modeler using XP as os. after saving changes i try to commit it to my svn which is on a linux based server and i get following svn-error: Sending ...
    Peter SchröderPeter Schröder
    Dec 14, 2006 at 12:35 pm
    Dec 17, 2006 at 11:34 am
  • This might come up as a separate thread - I forgot to subscribe... Anyway, here is the complete list of threads from the running JVM, (given by the ThreadMonitor code attached). Just to clarify, the ...
    John GunningJohn Gunning
    Dec 12, 2006 at 1:06 pm
    Dec 12, 2006 at 5:50 pm
  • Hello. One of our applications blocked for some time today. It worked out fine after a couple of minutes. It is running cayenne-1.2. We will upgrade to 2.0.1 in the start of january. The attached ...
    Tore HalsetTore Halset
    Dec 12, 2006 at 11:49 am
    Dec 12, 2006 at 12:22 pm
  • hi, i am wondering what the refresh param of context.objectFromDataRow does exactly? does it refresh the data of the object in the context, which i can commit with context.commitChanges, or does it ...
    Peter SchröderPeter Schröder
    Dec 11, 2006 at 3:32 pm
    Dec 11, 2006 at 5:12 pm
  • I am trying to get CayenneModeler to run under OS X 10.4 Darwin. When I run $CAYENNE_HOME/bin/modeler.sh from the command line, I get the following error. It would appear to be some type of problem ...
    Michael WarnerMichael Warner
    Dec 11, 2006 at 4:35 pm
    Dec 11, 2006 at 5:11 pm
  • Can anyone shed some light on what "unknown code" means? Is it a bug in Hessian? Thanks org.apache.cayenne.CayenneRuntimeException: [v.3.0-incubating- SNAPSHOT ] Remote error. URL - <... ; CAUSE - ...
    Lachlan DeckLachlan Deck
    Dec 7, 2006 at 11:32 pm
    Dec 11, 2006 at 10:04 am
  • hi, i am using modeler Version: 1.2.1 (August 30 2006) and i would appreciate having a "back-button" or similar functionality in the sql-scripts frame. from time to time i change my sql in there and ...
    Peter SchröderPeter Schröder
    Dec 7, 2006 at 10:44 am
    Dec 7, 2006 at 11:25 am
  • here is the exception: java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Timestamp at com.mysql.jdbc.ResultSet.getNativeTimestamp(ResultSet.java:3848) at ...
    Peter SchröderPeter Schröder
    Dec 7, 2006 at 8:53 am
    Dec 7, 2006 at 9:39 am
  • do you mean something like this http://cwiki.apache.org/CAYDOC/in-memory-evaluation.html ? -----Ursprüngliche Nachricht----- Von: Lachlan Deck Gesendet: Donnerstag, 7. Dezember 2006 01:12 An ...
    Peter SchröderPeter Schröder
    Dec 7, 2006 at 8:11 am
    Dec 7, 2006 at 8:56 am
  • hi there, first of all the bug-tracking link on page http://incubator.apache.org/cayenne/how-can-i-help.html is broken :-( but i found it through google. but i didnt find an issue about my problem ...
    Peter SchröderPeter Schröder
    Dec 5, 2006 at 10:36 am
    Dec 7, 2006 at 8:50 am
  • yes, we have auto-increment on that table. how do i invalidate the caches? i know there is a invalidateObjects method, but is this the way to do it? -----Ursprüngliche Nachricht----- Von: Michael ...
    Peter SchröderPeter Schröder
    Dec 5, 2006 at 4:52 pm
    Dec 5, 2006 at 5:23 pm
  • we are deleting all rows with truncate table first. then loading cvs with load data infile. i would prefer not to use this method, but it is simple and fast. -----Ursprüngliche Nachricht----- Von ...
    Peter SchröderPeter Schröder
    Dec 5, 2006 at 2:54 pm
    Dec 5, 2006 at 3:29 pm
  • hi, we get a cvs-file with a large number of user-data every hour. and we want to replace the existing data in our database with that. is there a best-practice to do something like this? currently we ...
    Peter SchröderPeter Schröder
    Dec 5, 2006 at 9:28 am
    Dec 5, 2006 at 1:38 pm
  • Under which circumstances can a Cayenne Data Object have it's Data Context set to null? I see 5 (five!) cases: - application invokes setDataContext(null) - Cayenne rolls back a new uncommitted ...
    Øyvind HarboeØyvind Harboe
    Dec 18, 2006 at 9:28 pm
    Dec 18, 2006 at 9:28 pm
  • thx, works fine! -----Ursprüngliche Nachricht----- Von: Andrus Adamchik Gesendet: Donnerstag, 7. Dezember 2006 10:39 An: cayenne-user@incubator.apache.org Betreff: Re: AW: mysql date I could easily ...
    Peter SchröderPeter Schröder
    Dec 7, 2006 at 10:52 am
    Dec 7, 2006 at 10:52 am
  • Hi there, simple question: does an Expression currently have the ability to filter *any* [1] collection of objects in-memory or only Cayenne objects? If not, Andrus, is this planned? Thanks... with ...
    Lachlan DeckLachlan Deck
    Dec 7, 2006 at 8:02 am
    Dec 7, 2006 at 8:02 am
  • I don't want to receive this email anymore !!! Thanks ! ----- Message d'origine ---- De : Øyvind Harboe <oyvind.harboe@zylin.com À : cayenne-user@incubator.apache.org Envoyé le : Jeudi, 30 Novembre ...
    Yann PuechYann Puech
    Dec 6, 2006 at 3:30 pm
    Dec 6, 2006 at 3:30 pm
  • i might do something like this: - load data into a temp-table - compare with actual data - update changed data through cayenne this would keep the original table running during the data load and i ...
    Peter SchröderPeter Schröder
    Dec 6, 2006 at 9:04 am
    Dec 6, 2006 at 9:04 am
  • I'm having a problem w/an NPE. 99.999999% of all our exceptions are NPE's, so let me be a bit more specific :-) - create child data context - Create new record A - Create a child record B. - Delete ...
    Øyvind HarboeØyvind Harboe
    Dec 5, 2006 at 9:54 pm
    Dec 5, 2006 at 9:54 pm
  • Hi there, I would like to know how cayenne handles java.util.date values. My problem is, that I have to import xml files with datetime values of different timezones. For example the file consits the ...
    Lothar KrenzienLothar Krenzien
    Dec 4, 2006 at 5:06 pm
    Dec 4, 2006 at 5:06 pm
  • My delete records fn(which is only in the app as we need to be bug-by-bug compatible in the first place) has gone totally pear shaped. The problem is that the record I'm trying to delete contains ...
    Øyvind HarboeØyvind Harboe
    Dec 3, 2006 at 9:47 pm
    Dec 3, 2006 at 9:47 pm
Group Navigation
period‹ prev | Dec 2006 | next ›
Group Overview
groupuser @

30 users for December 2006

Andrus Adamchik: 44 posts Peter Schröder: 14 posts Michael Gentry: 13 posts Tore Halset: 13 posts Øyvind Harboe: 12 posts Marcin Skladaniec: 6 posts Peter Karich: 6 posts Alexander Lamb: 5 posts Juergen Saar: 5 posts Lothar Krenzien: 5 posts Marco turchi: 5 posts Tomi N/A: 5 posts Mike Kienenberger: 4 posts Terry Jeske: 4 posts Yann Puech: 4 posts Florian Eska: 3 posts Cris Daniluk: 3 posts David Norwood: 3 posts John Gunning: 3 posts Landry Soules: 3 posts
show more