FAQ

Search Discussions

35 discussions - 185 posts

  • One way to handle database NULL (replace with default value) is to override the CayenneDataObject get/set methods. However, I was wondering if it would make sense to add a column to DbEntity in the ...
    Øyvind HarboeØyvind Harboe
    Aug 20, 2008 at 9:47 am
    Aug 28, 2008 at 12:51 am
  • Hi! We are using Cayenne with Microsoft SQL Server. We get a com.microsoft.sqlserver.jdbc.SQLServerException: "The text data type cannot be selected as DISTINCT because it is not comparable." The ...
    Matthias MoeserMatthias Moeser
    Aug 4, 2008 at 7:13 am
    Aug 6, 2008 at 1:11 pm
  • If I set scale to blank (default) or -1, then Derby will round off down to nearest whole number whereas SQL Server will not. Is this intentional? -- Øyvind Harboe http://www.zylin.com/zy1000.html ...
    Øyvind HarboeØyvind Harboe
    Aug 8, 2008 at 8:21 am
    Aug 12, 2008 at 6:44 am
  • It looks like the DbMerger in 3.0M4 isn't properly detecting whether NULL is allowed for columns when using MySQL. Is this another issue that has already been fixed in trunk? Does it seem reasonable ...
    Scott AndersonScott Anderson
    Aug 28, 2008 at 5:35 pm
    Sep 12, 2008 at 8:07 pm
  • Is the DbGenerator an anachronism as far as applications are concerned at this point? E.g. I discovered that the AUTO_PK_SUPPORT is correctly added w/MergeContext whereas DbGenerator resets the ...
    Øyvind HarboeØyvind Harboe
    Aug 22, 2008 at 8:54 am
    Aug 26, 2008 at 9:01 pm
  • Using M4 I map my PK field (id) to an object field as per the wiki here : http://cwiki.apache.org/CAY/mapping-primary-keys.html In my generated class these two functions are added: public void ...
    John ArmstrongJohn Armstrong
    Aug 17, 2008 at 9:38 am
    Aug 19, 2008 at 3:34 pm
  • Hi there, Just wondering why the above produces stuff like (db:isDeleted = null) rather than (isDeleted = null)? The former obviously can't be evaluated against the database. with regards, -- Lachlan ...
    Lachlan DeckLachlan Deck
    Aug 13, 2008 at 7:18 am
    Aug 14, 2008 at 6:49 am
  • I am currently trying to use ObjEntity Inheritance in my project, but I am running into some difficulties. I was hoping that I could use "someRelationship != null" as the qualifier, but I get the ...
    Dave DombroskyDave Dombrosky
    Aug 5, 2008 at 9:24 pm
    Aug 6, 2008 at 7:10 pm
  • Hello all, Is there a way with Cayenne to do an update in cascade with relationships (something like the delete in cascade already implemented) ? Thanks. Francois Ce message a été vérifié par ...
    Francois EylFrancois Eyl
    Aug 1, 2008 at 10:13 am
    Aug 1, 2008 at 2:29 pm
  • Hi, I really need help to find out what is happening here. I was adding an object to a parent object. Below you will find all the logging output and attached you'll also find my cayenne.xml along ...
    Ronald ZúñigaRonald Zúñiga
    Aug 28, 2008 at 4:53 am
    Aug 28, 2008 at 6:09 pm
  • I need to figure out if a change to the database would cause data loss. E.g. a user might *increase* the size of a text field and in this case the model should be adapted to the new size. This allows ...
    Øyvind HarboeØyvind Harboe
    Aug 27, 2008 at 6:26 am
    Aug 27, 2008 at 7:56 pm
  • Hi all, Sorry if this is a FAQ, however could not find an answer. I have an existing mysql (5.1) database that has a column named location that is a POINT datatype. I used the DataModeler and ...
    Rick BlairRick Blair
    Aug 11, 2008 at 2:27 am
    Aug 18, 2008 at 8:14 pm
  • Well, while we're working on the Cayenne 3.0M4 issue, I'm still experiencing this problem using Cayenne 2.0 ... I'm having a terrible time trying to track down this problem. It's most likely in my ...
    Chris GamacheChris Gamache
    Aug 8, 2008 at 7:06 pm
    Aug 11, 2008 at 6:13 pm
  • Hi all, Up to this point, whenever I've had to store hashed text (say, the hashed from of a password) in the db, I've simply hashed in code. But the question arose the other day of how you would go ...
    Robert ZeiglerRobert Zeigler
    Aug 7, 2008 at 5:14 pm
    Aug 8, 2008 at 2:17 pm
  • I've been looking through the mailing list and I can't find a definite answer. I'm using ZK, I have added: <filter <filter-name CayenneFilter</filter-name <filter-class ...
    MamboMambo
    Aug 23, 2008 at 11:59 am
    Sep 15, 2008 at 2:07 am
  • Hi, I am playing around with GWT, trying to implement a stateful client with a stateless server (IMO this is the paradigm shift proposed by the google guys). While this is a very promising solution ...
    Krzysztof JanowiczKrzysztof Janowicz
    Aug 27, 2008 at 11:24 am
    Aug 27, 2008 at 12:52 pm
  • I need to run a group of select queries all at once and would like to parallelize it. I'm attempting to do it with QueryChain but I'm having issues getting the data I'm querying. I know that ...
    Eric PolinoEric Polino
    Aug 19, 2008 at 2:22 pm
    Aug 20, 2008 at 6:24 pm
  • Hi Does cayenne have any problems useing utf8 character sets ? Some time soon I may need to cope with different character sets, I am currently using cayenne 3M4. Will cayenne be ok using utf8 with a ...
    Ian JamiesonIan Jamieson
    Aug 20, 2008 at 4:22 am
    Aug 20, 2008 at 7:59 am
  • Hi Group, I am trying to get my head round how Cayenne would work with Spring services. The great advantage of Cayenne is that it is designed for exposing the domain model. But applications will ...
    Chris MurphyChris Murphy
    Aug 11, 2008 at 1:25 am
    Aug 12, 2008 at 11:12 am
  • Hi List I'm using cayenne 3M4. I'm a but confused with how to handle the cache. I have two objects A related to B in a one to many relationship. when I add objects B objects related to A, and ...
    Ian JamiesonIan Jamieson
    Aug 26, 2008 at 5:11 am
    Aug 27, 2008 at 1:32 am
  • Hi, I am attempting to use a SQLTemplate to execute a query and prefetch relationships. I have been unable, so far, to get any relationships that are one-to-many to be prefetched. Is there any ...
    Michael SheaMichael Shea
    Aug 25, 2008 at 6:51 pm
    Aug 26, 2008 at 12:22 pm
  • The merge stuff can produce some pretty wicked stuff. However, I would like to have the ability to extract the SQL statements that a merge token results in. The database administrator can then ...
    Øyvind HarboeØyvind Harboe
    Aug 26, 2008 at 7:52 am
    Aug 26, 2008 at 9:12 am
  • Just started trying the EJBQLQuery and ran into trouble with date type parameters using C3M4, hsql EJBQLQuery query = new EJBQLQuery("select count(e), e.toDocType.marketplaceDocType from ...
    Steve WellsSteve Wells
    Aug 25, 2008 at 4:27 am
    Aug 25, 2008 at 2:33 pm
  • Hi all, While writing some unit tests today, I found that hsqldb was choking on a table creation statement along the lines of: CREATE CACHED TABLE foo (bar DOUBLE(22)) A bit of research showed that ...
    Robert ZeiglerRobert Zeigler
    Aug 13, 2008 at 1:03 am
    Aug 13, 2008 at 2:55 am
  • Hi, i'm using Cayenne 2.0.4 with Oracle 10 and JDK 1.5. Please have a short look at this code: ... dataCtx, myID are set... SQLTemplate rawQuery = ...
    Jens MayerJens Mayer
    Aug 6, 2008 at 10:36 am
    Aug 6, 2008 at 3:29 pm
  • Is there a way to commit just a specific set of changes, without commiting all the changes in the context? Should I create separate DataContext instances if I want to do this?
    Ian JamiesonIan Jamieson
    Aug 5, 2008 at 1:59 am
    Aug 5, 2008 at 3:09 am
  • Need your expert help. It could be a silly mistake on my part, but here goes. CourseState has a few fields and these relationships: <obj-relationship name="studentCoursesArray" source="CourseState" ...
    DevyanduDevyandu
    Aug 2, 2008 at 7:54 pm
    Aug 3, 2008 at 2:08 pm
  • I've noticed that in the release notes for 3.0M4, it indicates that CAY-560 has been implemented (support for outer joins). Looking at the JIRA page for CAY-560 ...
    Michael SheaMichael Shea
    Aug 29, 2008 at 3:36 pm
    Aug 29, 2008 at 3:43 pm
  • Hi there! How do i get access to the original value of the property on the client-side (i.e., ROP). In other words, how do I obtain the original snapshot for a property key's value? I looked at the ...
    Matthias MoeserMatthias Moeser
    Aug 21, 2008 at 1:09 am
    Aug 22, 2008 at 1:33 pm
  • Hi List, we've a Webapplication running in Tomcat, we bound DataContext via Spring to our Session and used the CayenneWebInterceptor. Everything is working fine, but we've a second Thread, witch will ...
    Dirk WellmannDirk Wellmann
    Aug 9, 2008 at 7:15 pm
    Aug 20, 2008 at 6:48 am
  • Should commitChangesToParent() call my pre-persist method? I have coded up a pre-persist listener to set my object's type for cayenne inheritance, and also to create some new objects to fill in ...
    Dave DombroskyDave Dombrosky
    Aug 19, 2008 at 5:46 am
    Aug 19, 2008 at 10:49 am
  • Hi all, I'd like to announce the first release of a Tapestry5-Cayenne integration module that Robert Zeigler and I have been working on. The goal of this module is to provide seemless integration of ...
    Kevin MenardKevin Menard
    Aug 28, 2008 at 4:54 pm
    Aug 28, 2008 at 4:54 pm
  • Hello all, Can someone point me to a source of info for RefreshQuery? The guide is pretty thin on it and I *think* it will solve my problem but can't get it to actually do what I think it should do ...
    John ArmstrongJohn Armstrong
    Aug 18, 2008 at 5:01 pm
    Aug 18, 2008 at 5:01 pm
  • Andrus, thanks for your reply. The query is mapped via the Modeler, but it's not shared across DataContexts. Cloning the query doesn't change anything - the exception is thrown again. In the mapping, ...
    Jens MayerJens Mayer
    Aug 7, 2008 at 8:40 pm
    Aug 7, 2008 at 8:40 pm
  • Hi List, I've a HSQLDB issue on using Relationships with Delete-Rules. Some Relations have a Delete-Rule Cascade and some not, but the Generator generates always a "ADD CONSTRAINT XYZ FOREIGEN KEY ...
    Dirk WellmannDirk Wellmann
    Aug 5, 2008 at 11:48 am
    Aug 5, 2008 at 11:48 am
Group Navigation
period‹ prev | Aug 2008 | next ›
Group Overview
groupuser @
categoriescayenne
discussions35
posts185
users31
websitecayenne.apache.org

31 users for August 2008

Andrus Adamchik: 47 posts Øyvind Harboe: 16 posts Tore Halset: 11 posts Chris Gamache: 10 posts Lachlan Deck: 10 posts Scott Anderson: 10 posts Aristedes Maniatis: 9 posts Ian Jamieson: 6 posts Andrey Razumovsky: 5 posts Dave Dombrosky: 5 posts John Armstrong: 5 posts Michael Gentry: 5 posts Kevin Menard: 4 posts Matthias Moeser: 4 posts Robert Zeigler: 4 posts Dirk Wellmann: 3 posts Eric Polino: 3 posts Francois Eyl: 3 posts Ronald Zúñiga: 3 posts Borut Bolčina: 2 posts
show more
Archives