Grokbase Groups Cayenne user May 2011

Search Discussions

24 discussions - 98 posts

  • Help! I am at a loss to figure out how to get past this one. The same code works perfectly fine when I test it against a MySQL database. I tried using the line containing the DB2Adapter statement but ...
    Andrew WillerdingAndrew Willerding
    May 12, 2011 at 3:13 pm
    May 13, 2011 at 3:43 pm
  • Hi, I need to create a query to select certain objects with a condition like so: SELECT*FROM tableWHERE(col/16)=10; Column 'col' is defined as integer but the expression (col / 16) yields a floating ...
    Wernke zur BorgWernke zur Borg
    May 31, 2011 at 2:27 pm
    Jul 11, 2011 at 6:30 pm
  • Hi, I am using a simple SQLTemplate select query but it fails because of special charachters : SELECT * FROM SDEPTHR INNER JOIN THRESH ON SDEPTHR.DEPTHRID=THRESH.THRESHID WHERE SDEPTHR.JOBNAME = ...
    Laurent MarchalLaurent Marchal
    May 16, 2011 at 8:36 pm
    May 25, 2011 at 8:27 pm
  • Hi, I'm using stable cayenne 3.0.1. Following the tutorial in vertical inheritance i've been unable to make vertical inheritance work. I've modified the tutorial app adding a Programmar as Child of ...
    Hans C. PooHans C. Poo
    May 12, 2011 at 5:10 pm
    May 19, 2011 at 8:36 pm
  • Hi all, I am referring to FAQ "Setting Database Connection" here: Firstly, in 3.1 the SharedConfiguration no longer exists, so we have to ...
    Wernke zur BorgWernke zur Borg
    May 26, 2011 at 10:20 am
    May 26, 2011 at 2:56 pm
  • Currently I'm using CreateIfNoSchemaStrategy and it seems to work quite well for the database platforms I'm targeting. My question is, is there any way or examples somewhere to update the schema if ...
    Steve SpringettSteve Springett
    May 3, 2011 at 12:16 am
    May 3, 2011 at 6:51 am
  • I have an object called event that contains eventMenu as an array of objects. event is a table in my database and eventMenu is a table. Each of the objects are working fine for inserts and ...
    Tony DahburaTony Dahbura
    May 25, 2011 at 7:58 pm
    Jun 2, 2011 at 12:35 pm
  • Hi In my application I start embedded derby and jetty http server (as a servlet container). Then the cayenne runtime is initiated (for both 1tier and ROP). When the application shuts down I reverse ...
    Marcin SkladaniecMarcin Skladaniec
    May 27, 2011 at 2:34 am
    May 31, 2011 at 2:48 pm
  • Hey all, how do I do create "group by" or "sum" queries with Cayenne? Is an IndirectQuery/SQLTemplate the best way to do it? Cheers Christian
    Christian GrobmeierChristian Grobmeier
    May 24, 2011 at 9:54 am
    May 25, 2011 at 3:56 pm
  • I have placed the cayenne.xml file in WEB-INF directory, also in classes directory under WEB-INF and even added a parameter to my web.xml file to : <filter <filter-name CayenneFilter</filter-name ...
    Tony DahburaTony Dahbura
    May 17, 2011 at 2:11 pm
    May 17, 2011 at 2:53 pm
  • I hope you don't mind me posting this here as hopefully this helps somebody else trying to deploy a web app under tomcat 6.0.32 using DB2 Version 7. (I know it's old but I had no choice) I was ...
    Andrew WillerdingAndrew Willerding
    May 6, 2011 at 2:08 pm
    May 9, 2011 at 7:49 am
  • I am trying to find an example of using an order by on a cayenne query. I was hoping to have it sort the information using the database versus locally which cayenne seems to support either. My ...
    Tony DahburaTony Dahbura
    May 6, 2011 at 6:36 pm
    May 7, 2011 at 4:17 pm
  • Hey guys-- In a clustered cayenne environment (I'm using the JMS event bridge), do all nodes receive all cayenne events (talking preInsert, postUpdate, etc etc). Only some of them? None of them? I ...
    Dave LamyDave Lamy
    May 17, 2011 at 8:16 pm
    Jul 14, 2011 at 5:31 am
  • At work, I'm starting a new application with cayenne 3.0.1. We're using Ingres which has a read lock for tables during select queries. To make matters more complicated, I need to do inserts to a ...
    Lucas HoltLucas Holt
    May 25, 2011 at 4:55 pm
    May 25, 2011 at 11:17 pm
  • I've got a Cayenne 1.1 application that has been running fine for years. Today we hit a strange error, a Numeric Overflow on a relationship list fetch. I've looked through the tables involved ...
    Mike KienenbergerMike Kienenberger
    May 9, 2011 at 10:50 pm
    May 9, 2011 at 11:37 pm
  • I thought I understood what was going on with Cayenne but alas it seems to be a misconception on my part! I have a web application I am building. The database code had methods to insert, update, and ...
    Tony DahburaTony Dahbura
    May 4, 2011 at 2:39 pm
    May 6, 2011 at 6:12 pm
  • Hi, sometimes Cayenne generates SQL like: ... FROM schema.table WHERE... and sometimes it generates: ... FROM table WHERE... I would like to make sure its only using the second one. How can I achieve ...
    Christian GrobmeierChristian Grobmeier
    May 6, 2011 at 2:05 pm
    May 6, 2011 at 3:51 pm
  • Hi, I would like to ask you guys where do you see 3.1 now? M2 is 2 months out and I would like to ask where do you see the first RC (months/year)? I couldn't find a roadmap and I'm working on a ...
    Marek ŠaboMarek Šabo
    May 6, 2011 at 2:17 pm
    May 6, 2011 at 2:55 pm
  • Hey all, i have NULL in the database (MySQL). If I select it, it will return endTime=Thu Jan 01 00:00:00 CET 1970 This is taken from the values map in the CayenneDataObject M2 Line 193 - 195. public ...
    Christian GrobmeierChristian Grobmeier
    May 5, 2011 at 12:23 pm
    May 5, 2011 at 3:44 pm
  • Hello. We are using 3.1M2 in jetty 7.3.0. For production I want to turn off the logging done by CommonsJdbcEventLogger. I got this to work with earlier versions of cayenne and a different servlet ...
    Tore HalsetTore Halset
    May 5, 2011 at 10:01 am
    May 5, 2011 at 3:21 pm
  • I am trying to execute a where clause that includes calling a database function, in this case SHA2 for mysql. My code looks like the following: HashMap<String,String parameters = new ...
    Tony DahburaTony Dahbura
    May 3, 2011 at 11:50 am
    May 4, 2011 at 4:14 pm
  • Hello all, I have a table with 3 foreign keys that are also the composite primary key. On cayenne modeler the primary key generation is Default but even so during the commit phase Cayenne tries to ...
    Bruno René SantosBruno René Santos
    May 3, 2011 at 4:15 pm
    May 3, 2011 at 6:18 pm
  • Hello Cayenne support Here is my code where I am trying to update a table by using EJB Query language. The parameter I pass for the subquery is an object. EJBQLQuery updateQueryDoc = new EJBQLQuery( ...
    Muthumari, SundaresanMuthumari, Sundaresan
    May 11, 2011 at 6:42 pm
    May 13, 2011 at 10:51 am
  • Hi, We have created a new template pojo.vm in order to generate the pojos automatically, using the cayenne cgen goal of the cayenne maven plugin. It is more or less working but we developed it on our ...
    May 3, 2011 at 1:25 pm
    May 3, 2011 at 6:20 pm
Group Navigation
period‹ prev | May 2011 | next ›
Group Overview
groupuser @

23 users for May 2011

Andrus Adamchik: 23 posts Andrew Willerding: 9 posts Tony Dahbura: 9 posts Michael Gentry: 8 posts Christian Grobmeier: 6 posts Laurent Marchal: 5 posts Mike Kienenberger: 5 posts Hans C. Poo: 4 posts Robert Zeigler: 4 posts Wernke zur Borg: 4 posts Bruno René Santos: 3 posts Steve Springett: 3 posts Tore Halset: 3 posts Lucas Holt: 2 posts Marek Šabo: 2 posts Aristedes Maniatis: 1 post Dave Lamy: 1 post Felix: 1 post Joe Baldwin: 1 post Marcin Skladaniec: 1 post
show more