Search Discussions
-
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
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 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
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 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
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 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 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 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 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úñ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
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 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 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 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 ...
Mambo
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 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 Polino
Aug 19, 2008 at 2:22 pm
Aug 20, 2008 at 6:24 pm -
3
UTF-8
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 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 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 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 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
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 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 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 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 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" ...
Devyandu
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 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 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 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 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 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 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 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 Wellmann
Aug 5, 2008 at 11:48 am
Aug 5, 2008 at 11:48 am
Group Overview
group | user |
categories | cayenne |
discussions | 35 |
posts | 185 |
users | 31 |
website | cayenne.apache.org |
31 users for August 2008
Archives
- June 2016 (31)
- May 2016 (37)
- April 2016 (85)
- March 2016 (100)
- February 2016 (56)
- January 2016 (25)
- December 2015 (13)
- November 2015 (3)
- October 2015 (53)
- September 2015 (69)
- August 2015 (66)
- July 2015 (65)
- June 2015 (51)
- May 2015 (36)
- April 2015 (32)
- March 2015 (9)
- February 2015 (3)
- January 2015 (15)
- December 2014 (33)
- November 2014 (17)
- October 2014 (23)
- September 2014 (7)
- August 2014 (50)
- July 2014 (4)
- June 2014 (19)
- May 2014 (6)
- April 2014 (25)
- March 2014 (52)
- February 2014 (14)
- January 2014 (21)
- December 2013 (38)
- November 2013 (48)
- October 2013 (14)
- September 2013 (63)
- August 2013 (20)
- July 2013 (16)
- June 2013 (23)
- May 2013 (61)
- April 2013 (72)
- March 2013 (24)
- February 2013 (27)
- January 2013 (17)
- December 2012 (73)
- November 2012 (103)
- October 2012 (77)
- September 2012 (50)
- August 2012 (76)
- July 2012 (60)
- June 2012 (87)
- May 2012 (74)
- April 2012 (105)
- March 2012 (186)
- February 2012 (152)
- January 2012 (84)
- December 2011 (100)
- November 2011 (72)
- October 2011 (77)
- September 2011 (162)
- August 2011 (163)
- July 2011 (65)
- June 2011 (46)
- May 2011 (98)
- April 2011 (32)
- March 2011 (43)
- February 2011 (68)
- January 2011 (80)
- December 2010 (44)
- November 2010 (103)
- October 2010 (122)
- September 2010 (114)
- August 2010 (65)
- July 2010 (76)
- June 2010 (87)
- May 2010 (206)
- April 2010 (180)
- March 2010 (86)
- February 2010 (98)
- January 2010 (87)
- December 2009 (74)
- November 2009 (90)
- October 2009 (78)
- September 2009 (170)
- August 2009 (76)
- July 2009 (120)
- June 2009 (102)
- May 2009 (93)
- April 2009 (164)
- March 2009 (161)
- February 2009 (106)
- January 2009 (79)
- December 2008 (72)
- November 2008 (90)
- October 2008 (64)
- September 2008 (122)
- August 2008 (185)
- July 2008 (97)
- June 2008 (153)
- May 2008 (197)
- April 2008 (120)
- March 2008 (191)
- February 2008 (152)
- January 2008 (127)
- December 2007 (93)
- November 2007 (126)
- October 2007 (132)
- September 2007 (115)
- August 2007 (116)
- July 2007 (127)
- June 2007 (220)
- May 2007 (93)
- April 2007 (187)
- March 2007 (200)
- February 2007 (213)
- January 2007 (90)
- December 2006 (171)
- November 2006 (92)
- October 2006 (164)
- September 2006 (185)
- August 2006 (160)
- July 2006 (166)
- June 2006 (198)
- May 2006 (173)
- April 2006 (279)
- March 2006 (89)