Search Discussions

29 discussions - 153 posts

  • Hi, How can I configure SSL in DomeinNode.driver.xml. Can somebody give me an example. Many thanks Elena
    Elena DoyleElena Doyle
    Jun 13, 2008 at 3:34 pm
    Jun 21, 2008 at 1:37 pm
  • Hi there, (question related to ROP) say I've got an Expression (whether complex or otherwise) and I want to utilise that Expression in a NamedQuery or SQLTemplate... what's the easiest way to ...
    Lachlan DeckLachlan Deck
    Jun 10, 2008 at 6:27 am
    Jun 10, 2008 at 11:54 pm
  • An SQL statement includes a list of which columns to fetch for the query. Consider a table "book" with three columns, id(pk), title(<100 chars) and content(the entire text of the book). SELECT id, ...
    Øyvind HarboeØyvind Harboe
    Jun 30, 2008 at 8:55 am
    Jun 30, 2008 at 3:08 pm
  • In the apps I'm working on I can generally sort tables into two categories: 1. tables that change as part of normal operation of the database and/or where the number of records is too large to fit ...
    Øyvind HarboeØyvind Harboe
    Jun 30, 2008 at 1:07 pm
    Jun 30, 2008 at 5:29 pm
  • Using Cayenne 2.0.3 ... I'm having problems when I use an accessor to get rows from a related table. It pulls fresh data the first time I use the accessor, but if data is modified outside of the Java ...
    Chris GamacheChris Gamache
    Jun 9, 2008 at 8:09 pm
    Jul 8, 2008 at 1:25 pm
  • I'm toying around with weak references in paged queries. This turned out to be rather hairy from the point of view that a query is supposed to return a List and this List has to live up to a lot of ...
    Øyvind HarboeØyvind Harboe
    Jun 20, 2008 at 1:46 pm
    Jun 23, 2008 at 8:12 am
  • Hi! I can't figure out how to make the refreshing query work with inserting or deleting rows in database. For instance: Artist a = ... assert a.getPaintingsArray().size() == 0; //here is direct ...
    Andrey RazumovskyAndrey Razumovsky
    Jun 24, 2008 at 10:38 am
    Jun 25, 2008 at 1:54 pm
  • I'm running into out of memory problems processing a large number of elements from a query and I'm lacking a good understanding of how to make sure that Cayenne can garbage collect it's objects ...
    Øyvind HarboeØyvind Harboe
    Jun 20, 2008 at 7:46 am
    Jun 20, 2008 at 8:34 am
  • I've seen the setFetchLimit(int) method, but I'm wondering if there's a way to set a starting row as well, short of using a SQLTemplate or the like.
    Scott AndersonScott Anderson
    Jun 5, 2008 at 8:01 pm
    Jun 5, 2008 at 9:18 pm
  • How should i handle relationships of unsaved objects? Let's say i got 2 classes: Person and Address. They are connected with one-to-one relationship. Problem is that after creating new object: Person ...
    Michał MorzywołekMichał Morzywołek
    Jun 5, 2008 at 12:35 pm
    Jun 5, 2008 at 6:12 pm
  • Hello, If I have a collection of transient CayenneDataObjects with no relations between any of them and want to persist them, it would be convenient to "say" ...
    Borut BolčinaBorut Bolčina
    Jun 4, 2008 at 12:34 pm
    Jun 4, 2008 at 2:32 pm
  • Hello I'm new to cayenne (actually a webobjects guy) and I'm trying to get it working. I'm was able able to get modeler working and I created a model for accessing a mysql database. Everything seemed ...
    Jerald DawsonJerald Dawson
    Jun 30, 2008 at 7:55 pm
    Jun 30, 2008 at 8:37 pm
  • I'm wondering if I've gotten comparsion of objects right. Consider a, b both references to CayenneDataObjects. I want to know if a & b refer to the same row in a database. 1. if (a==b) safe as long ...
    Øyvind HarboeØyvind Harboe
    Jun 20, 2008 at 8:35 am
    Jun 20, 2008 at 8:44 am
  • What would be the best way to construct an expression which asserts that a flattened many-to-many relationship has no entries? Looking at methods in ExpressionFactory, nothing jumps out at me. I'm ...
    Scott AndersonScott Anderson
    Jun 12, 2008 at 5:05 pm
    Jun 18, 2008 at 5:00 pm
  • Hi Andrus, I have tested with Cayenne 3.0M4 and there is a bug transforming an expression into EJBQL : I created a ticket : https://issues.apache.org/cayenne/browse/CAY-1073 ...
    Laurent MarchalLaurent Marchal
    Jun 10, 2008 at 10:49 am
    Jun 10, 2008 at 2:20 pm
  • A query returns a List. This always seemed too broad an interface for that return value to me. There are two things that I dare do with the list that is returned: - iterate over it - ask for it's ...
    Øyvind HarboeØyvind Harboe
    Jun 20, 2008 at 9:08 am
    Jun 20, 2008 at 10:16 am
  • Hi, is there a migration guide describing how to migrate from cayenne 1.2 to version 3.0? Thanks. Regards, Martin
    Martin ThelianMartin Thelian
    Jun 19, 2008 at 8:49 am
    Jun 19, 2008 at 9:53 am
  • Alright, I'm using SQLTemplate to do a query and I'm having issues when Cayenne tries to map it to a java object. The db entity is called Site, but the java entity is called DBSite. This is because ...
    Eric PolinoEric Polino
    Jun 17, 2008 at 4:48 pm
    Jun 17, 2008 at 5:23 pm
  • Hi, Is it possible to use Cayenne as the JPA provider for J2EE5 applications on Glassfish v2 server? If it is, where is the best documentation to change from Toplink to Cayenne? With best regards ...
    Jone LuraJone Lura
    Jun 16, 2008 at 5:24 pm
    Jun 16, 2008 at 5:26 pm
  • Hello Cayenne people, First off, thank god for Cayenne. Its made my life a lot better and Hibernate is but a nightmare now. Thanks. Ok so my issue. I have a stand-alone app. In this app it uses the ...
    John ArmstrongJohn Armstrong
    Jun 16, 2008 at 4:56 am
    Jun 16, 2008 at 7:41 am
  • Hi all I couldn't fine a printer-friendly version of the documentation of cayenne-3.0 at http://cayenne.apache.org/doc/documentation.html. Can you point me a to single-paged html or pdf version. 10x
    Julian VassevJulian Vassev
    Jun 7, 2008 at 9:36 am
    Jun 7, 2008 at 9:39 am
  • Let's say i got class A with collection of class B in it. When i read objact a (of class A) from db the collection is not loaded at first(due to lazy loading). 1. How can i disable lazy loading - so ...
    Michał MorzywołekMichał Morzywołek
    Jun 3, 2008 at 4:50 pm
    Jun 3, 2008 at 5:41 pm
  • Queries use memory proportional to the number of records returned by the query. I expected paged queries to use memory proportional to the page size, but paged queries require as much memory as ...
    Øyvind HarboeØyvind Harboe
    Jun 26, 2008 at 11:20 am
    Jun 26, 2008 at 11:20 am
  • I'm wondering if I should implement this as a utility function or try to fit it into DataContext.performQuery() via setPageSize(). I'm going to take a stab at implementing it as a helper function ...
    Øyvind HarboeØyvind Harboe
    Jun 23, 2008 at 12:19 pm
    Jun 23, 2008 at 12:19 pm
  • Hello, would it make sense to declare the method setStorageEngine in AutoAdapter? Is there any other adapter besides MySqlAdapter that this method can be called upon? Currently I am using AutoAdaper ...
    Borut BolčinaBorut Bolčina
    Jun 23, 2008 at 9:39 am
    Jun 23, 2008 at 9:39 am
  • Hi, I am trying to use the Cayenne instead of Toplink JPA (Glassfish v2), while I wait for Cayenne JPA, but I have run into a small problem. I have created a class that extends the generated Cayenne ...
    Jone LuraJone Lura
    Jun 20, 2008 at 4:54 pm
    Jun 20, 2008 at 4:54 pm
  • Hi there, (question related to ROP) say I've got an Expression (whether complex or otherwise) and I want to utilise that Expression in a NamedQuery or SQLTemplate... what's the easiest way to ...
    Lachlan DeckLachlan Deck
    Jun 10, 2008 at 7:12 am
    Jun 10, 2008 at 7:12 am
  • Hi, For me as a user it looks like Cayenne (core) could have a lot of synergies with Apache DDLUtils: http://db.apache.org/ddlutils/ To me it looks like both projects spend most of the time on ...
    Gustav WeberGustav Weber
    Jun 8, 2008 at 4:37 pm
    Jun 8, 2008 at 4:37 pm
  • Hello, First: short polish lesson: Pojazd = Vehicle Motocykl=Motobike :) I got this simple Inheritance structure: Motocykl gets atributes and relations of Pojazd. I created such structure in the ...
    Michał MorzywołekMichał Morzywołek
    Jun 1, 2008 at 7:02 pm
    Jun 1, 2008 at 7:02 pm
Group Navigation
period‹ prev | Jun 2008 | next ›
Group Overview
groupuser @

25 users for June 2008

Andrus Adamchik: 39 posts Øyvind Harboe: 20 posts Elena Doyle: 16 posts Lachlan Deck: 12 posts Scott Anderson: 9 posts Michael Gentry: 7 posts Andrey Razumovsky: 5 posts Michał Morzywołek: 5 posts Mike Kienenberger: 5 posts Aristedes Maniatis: 4 posts Chris Gamache: 4 posts Marcin Skladaniec: 4 posts Robert Zeigler: 4 posts Borut Bolčina: 3 posts Laurent Marchal: 3 posts Hans: 2 posts Jerald Dawson: 2 posts Jone Lura: 2 posts Eric Polino: 1 post Gustav Weber: 1 post
show more