Grokbase Groups Cayenne user May 2008

Search Discussions

37 discussions - 197 posts

  • Hello all, We are using Cayenne 3.0M3 for ORM in our project and are exposing this database using SOAP Web Services. We're using the latest Sun Metro stack (1.2), consisting of the JAX-WS and JAXB ...
    Jon SharpJon Sharp
    May 26, 2008 at 11:51 pm
    May 30, 2008 at 11:13 pm
  • Figured I'd resend the message to this list to get more feedback. Do many people find this API useful? My main motivation for removal of this API is to reduce confusion. It overlaps with query ...
    Andrus AdamchikAndrus Adamchik
    May 3, 2008 at 3:58 pm
    May 6, 2008 at 7:11 pm
  • I've got a table `command which has: `id` int PK `name` varchar(32) UNIQUE and a table `command_alias` which has `alias` varchar(32) PK `name` varchar(32) FK REF `command`.`name` Take special note ...
    Scott AndersonScott Anderson
    May 12, 2008 at 10:26 pm
    May 16, 2008 at 3:43 pm
  • Hi, what is the C3M4 prefered way of doing this SQL equivalent: DELETE FROM Artist WHERE Oid IN (1,4,8,9); Thanks, Borut
    Borut BolčinaBorut Bolčina
    May 30, 2008 at 1:27 pm
    Oct 11, 2008 at 8:12 pm
  • Hello, //Didn't confirm my subscription before - so i post it again - not sure if my previous message was accepted by the server... I'm new to this mailing list so forgive me all my mistakes (or ...
    Michał MorzywołekMichał Morzywołek
    May 29, 2008 at 10:46 am
    May 29, 2008 at 1:49 pm
  • Wanted to check if anybody loads "cayenne.xml" and related Map and Node XML files from locations other than default two: CLASSPATH and WEB-INF/ ? More specifically: 1. anybody uses FileConfiguration? ...
    Andrus AdamchikAndrus Adamchik
    May 20, 2008 at 2:39 pm
    May 23, 2008 at 8:42 am
  • Hello everyone! I am new to cayenne and experiencing some problems, when modelling a many-to-many relationship. After I could not solve the problem for an application I am writing at the moment, I ...
    Daniel DoppmeierDaniel Doppmeier
    May 6, 2008 at 8:18 am
    May 12, 2008 at 10:07 pm
  • Hello list, as small first steps (again) with Cayenne, I created some data objects via DataContext's newObject(MyDataObject.class). Then, without committing, I created an unqualified SelectQuery to ...
    Dirk LattermannDirk Lattermann
    May 19, 2008 at 7:17 pm
    May 19, 2008 at 8:55 pm
  • I've been using a custom subclass of DefaultConfiguration to customize my database connection. This works great with 3.0M3. However, today I upgraded to the snapshot build and it seems to be ignoring ...
    Brian NelsonBrian Nelson
    May 1, 2008 at 7:29 pm
    May 5, 2008 at 8:47 pm
  • Given three tables (This is not accurate SQL syntax...but you get the point). Reservation { ... siteId int foreign key with Site, ... } Site { ... siteId int primary key, typeId int foreign key with ...
    Eric PolinoEric Polino
    May 22, 2008 at 9:23 pm
    May 22, 2008 at 10:08 pm
  • Hi, in our application we are using cayenne 1.2.4 and have the problem that we run into a deadlock if two users try to update their data in parallel. I've analyzed the thread-dumps and this are the ...
    Martin ThelianMartin Thelian
    May 15, 2008 at 3:03 pm
    May 19, 2008 at 9:15 am
  • Hello, I am using the last stable version of Cayenne: 2.0.4. The situation is: Database 1: oracle, with tables A, B Database 2: mysql, with tables C, D, E First question is: what's the best way to ...
    Garcia Corral, JosepGarcia Corral, Josep
    May 9, 2008 at 12:18 pm
    May 13, 2008 at 12:54 pm
  • Can you please help me to configure connection to oracle database. I need to know which driver to use (I have jdbc14.jar from oracle) And how to specify name of the driver in a dialogue box: JDBC ...
    Elena DoyleElena Doyle
    May 27, 2008 at 11:13 am
    Jul 7, 2009 at 10:47 am
  • Hi In our application we are using LOCAL_CACHE and cache keys to refresh it, but only for a special context called 'shared' . We have overridden the CayenneContext commitChanges with following to ...
    Marcin SkladaniecMarcin Skladaniec
    May 7, 2008 at 11:26 pm
    May 17, 2008 at 1:30 am
  • Hi, I'm getting the next error (using cayenne 2.04): Can't perform lookup. There is more than one ObjEntity mapped to class cl.mydomain.User. The model was created with the cayenne 2.04 modeler, and ...
    Hans PooHans Poo
    May 3, 2008 at 2:01 pm
    May 5, 2008 at 1:36 pm
  • We were using derby and have decided to switch to postgresql. I have changed all my adapters and drivers and they seem to be working properly. I'm getting issues when I try to run my initialization ...
    Eric PolinoEric Polino
    May 6, 2008 at 3:44 pm
    May 22, 2008 at 9:15 pm
  • As some of you watching the website and/or the dev list may have noticed, we just posted 3.0M4 release. It is a very big improvement over M3 and earlier versions in performance and usability. Also M3 ...
    Andrus AdamchikAndrus Adamchik
    May 30, 2008 at 7:47 am
    May 30, 2008 at 1:46 pm
  • Hi We have updated to M4 and since then this exception started to show up (for some entities only) : [java] org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT May 13 2008 16:16:55] Remote ...
    Marcin SkladaniecMarcin Skladaniec
    May 13, 2008 at 5:32 pm
    May 15, 2008 at 12:09 am
  • Hi there, We're testing the use of Oracle Database 10g (actually the Express Edition for testing) via the JDBC Thin driver (oracle.driver.OracleDriver). e.g., uri: jdbc:oracle:thin:@host:port:db ...
    Lachlan DeckLachlan Deck
    May 5, 2008 at 2:19 am
    May 8, 2008 at 3:35 pm
  • Hi I have a 2 tables with a One-to-many relations. (Master-Details) My code insert one row in the Master table and many rows in the Details table at the end I do a dataContext.commitChanges(); But in ...
    Julien TrollietJulien Trolliet
    May 6, 2008 at 3:38 pm
    May 8, 2008 at 7:55 am
  • Hi All, I recently discovered Cayenne while searching for an alternative for Hibernate. I am very impressed with the easy & intuitive framework Cayenne provides. While porting my current Hibernate ...
    May 6, 2008 at 6:24 am
    May 6, 2008 at 7:59 am
  • I'm not really sure why you don't use a regular java bean object to do this. However, I believe you could create a DataMap for all of these objects in a separate DataNode. You don't have to create a ...
    Mike KienenbergerMike Kienenberger
    May 19, 2008 at 3:07 pm
    May 20, 2008 at 7:52 pm
  • Hello list Instead of writing three separate mails I thought it would make sense to pack these three questions together: Ordering -------- I am having a list of DataObjects where one field represents ...
    Adrian WiesmannAdrian Wiesmann
    May 18, 2008 at 2:10 pm
    May 19, 2008 at 6:18 am
  • Hi, I would like to know if it is ok to store DataObjects in session. I stored an employee dataobject in session and it worked fine. however with every restart of tomcat ...
    John EmmanuelJohn Emmanuel
    May 9, 2008 at 5:32 am
    May 10, 2008 at 6:57 am
  • Andrus, If I am using AutoAdapter and DbGenerator for table creation with MySQL 5 and table_type variable in MySQL is set to MyISAM, then according to ...
    Borut BolčinaBorut Bolčina
    May 8, 2008 at 5:55 am
    May 8, 2008 at 8:26 am
  • Hi, I have an web application that serves html pages from a databases. That database is manipulated from a perl program that runs from within a proftpd ftp server. As a result, users can upload their ...
    Andreas PardeikeAndreas Pardeike
    May 5, 2008 at 8:21 am
    May 5, 2008 at 6:08 pm
  • Hi, Imagine I have tables A and B. A has 'aid', 'aname' and 'bid' (relation to B, which is non-mandatory) fields. B has 'bid' and 'bname'. I want to make a selection from A but order it by 'bname' ...
    Andrey RazumovskyAndrey Razumovsky
    May 28, 2008 at 6:26 pm
    May 28, 2008 at 7:03 pm
  • Hello, Having this: Class Master { int id; ... }; Class Detail { int id_master; ... String data; }; I cannot figure out how to perform a SelectQuery to obtain detail records matching a condition, ...
    Garcia Corral, JosepGarcia Corral, Josep
    May 28, 2008 at 1:46 pm
    May 28, 2008 at 4:38 pm
  • I have a feeling this may turn out to be a stupid question, but here goes anyways: Is there a good way to cleanly shut down Cayenne? Have deployed my web app containing Cayenne to a tomcat server ...
    Scott AndersonScott Anderson
    May 27, 2008 at 6:23 pm
    May 27, 2008 at 8:01 pm
  • Hello all Let's have another question. :) Has anybody used UUIDs with Cayenne? I am interested in two use cases: - Configuring Cayenne so that UUIDs can be used in DataObjects without the need for ...
    Adrian WiesmannAdrian Wiesmann
    May 20, 2008 at 7:51 pm
    May 27, 2008 at 7:59 pm
  • It's probably better to use three separate emails. I've seen issues with using Timestamp columns in Oracle and optimistic locking. The problem was that the date stored in the database was rounded by ...
    Mike KienenbergerMike Kienenberger
    May 19, 2008 at 2:48 pm
    May 20, 2008 at 7:47 pm
  • I've added a virtual field before, so that can work for off-line ordering. There's probably other ways to handle it as well: public static void orderList(List objects, List orderings) { ...
    Mike KienenbergerMike Kienenberger
    May 19, 2008 at 3:00 pm
    May 20, 2008 at 7:44 pm
  • The following may boil down to "How can I get entity/property information on a Fault object?", but I'm not sure. Let me explain: To use Cayenne in a Swing application, I found JBND yesterday after ...
    Dirk LattermannDirk Lattermann
    May 19, 2008 at 8:52 pm
    May 19, 2008 at 9:09 pm
  • I know that you can chunk as follows: #chunk($somevalue) A = $somevalue #end but can you chunk like: #chunk($somevalue 10) A $somevalue #end Thanks, Daniel L. Morgan EMail : <
    Dan MorganDan Morgan
    May 9, 2008 at 9:40 pm
    May 12, 2008 at 2:19 pm
  • Hi all, Click Web Framework 1.5 Milestone 1 has been released. Please note this release supports Cayenne 2.0.x and 3.x. Support for Cayenne 1.2.x series has been dropped. Significant new features ...
    May 21, 2008 at 7:57 am
    May 21, 2008 at 7:57 am
  • Hi All, Just a quick word of appreciation for the LifecycleListener support in 3.0. I have completed refactoring an audit logging service to use this feature and it works great. This is a much more ...
    Malcolm EdgarMalcolm Edgar
    May 17, 2008 at 11:08 pm
    May 17, 2008 at 11:08 pm
  • Yeah, we probably should have moved this discussion to another thread as soon as it became obvious it wasn't the direct cause of your problem. Here's an example of why to-dep-pk makes a difference ...
    Mike KienenbergerMike Kienenberger
    May 13, 2008 at 11:28 pm
    May 13, 2008 at 11:28 pm
Group Navigation
period‹ prev | May 2008 | next ›
Group Overview
groupuser @

35 users for May 2008

Andrus Adamchik: 45 posts Mike Kienenberger: 23 posts Michael Gentry: 16 posts Scott Anderson: 16 posts Garcia Corral, Josep: 8 posts Adrian Wiesmann: 6 posts Borut Bolčina: 6 posts Brian Nelson: 6 posts Eric Polino: 6 posts Hans Poo: 6 posts Aristedes Maniatis: 5 posts Dirk Lattermann: 5 posts Jon Sharp: 5 posts Nirwan: 5 posts Daniel Doppmeier: 4 posts Marcin Skladaniec: 4 posts Kevin Menard: 3 posts Malcolm Edgar: 3 posts Martin Thelian: 3 posts Tore Halset: 3 posts
show more