Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Apache Cayenne users Recent threads

Threads Replies First post Last post
Domain configuration file "cayenne.xml" is not found.
By: Kanwar Manish
Sorry guys, I am posting this bugger again. But it has turned out to be a bummer for me. I am using NetBeans 7.1.1 JDK 1.7 cayenne files are in the folder - "/WEB-INF/config/cayenne-files". Total three files cayenne.xml, map and node files. …
3 May 24 2012
02:14
May 25 2012
01:38
Queries with multiple tables and results
By: pk_cayenne
Hello, I am a newbie with in cayenne and in english too. I am using cayenne 3.0.2 Here is my probleme I have two tables let say *table1 (id1, name, surname)* and *table2(id2, title, amount)* with oracle database And my query is like this select…
7 May 22 2012
06:45
May 24 2012
07:21
Cayenne cache strategy
By: cghersi
Hi all, I'm trying to use the query cache of Cayenne 3.0. My code snippet for the typical query is: private List query(Expression qualifier) { DataContext context = config.getDomain("MyDomain").createDataContext(); SelectQuery select = new…
1 May 23 2012
07:08
May 23 2012
08:02
Spring Security authentication
By: Tony Giaccone
I'm trying to implement a Spring Security Authentication using Cayenne. The problem is that when the spring security gets called, there's no context associated with the thread. So this method: BaseContext.getThreadObjectContext(); Throws…
1 May 23 2012
00:37
May 23 2012
02:17
multiple database querying
By: Bryan Lewis
We need to fetch objects from a second database. (That is, query an entity in a second domain.) I've tried a couple of quick things -- putting two domains in one cayenne.xml project -- but I've been unable to make it work, in Cayenne 3.0.2…
7 May 17 2012
07:07
May 18 2012
01:54
modeler + db migration NPE
By: Robert Zeigler
I've been slowing migrating my apps to 3.1M3. I was working on one yesterday and tweaked the data model. When I went to use the "Migrate" tool, I hit the exception listed below. FWIW, I'm running the modeler via cayenne-modeler:run (the maven…
1 May 17 2012
13:39
May 17 2012
14:02
Best Practice for real-time sort capability (follow-up)
By: Joe Baldwin
This is an follow-up to a question I asked previously. **** To re-cap In the context of a web-app (i.e. you don't know who your users are, or what kind of absurd 'give me everything and let me sort' actions they might take), I need to be able to…
2 May 16 2012
12:47
May 16 2012
21:38
model model, who's got the model….
By: Tony Giaccone
So here's my situation. I'm building a framework, where I'd like to let my development team choose to use either sql light or postgres on a shared server as the persistent store. Using SQLite lets them do development locally with out having to…
2 May 15 2012
16:59
May 16 2012
13:26
How to turn on escaping for named queries
By: Simran Narula
Hi, I have a bunch of named queries in my application.map.xml... And cayenne does not seems to be escaping the parameter values when these queries are executed Is there a way I can SWITCH ON escaping for these named queries in cayenne or is…
3 May 6 2012
22:46
May 15 2012
05:05
Stat gathering
By: Ramiro Aparicio
Hi, I am trying to figure some way to get the number or queries and time elapsed in a DataContext, or something similar, I want to get agregate data about DB performance and be able to find where we should try to reduce the number of DB…
3 May 9 2012
12:29
May 14 2012
02:57
Can not load JDBC driver named 'org.apache.derby.jdbc.ClientDriver'
By: Tadrierion
Hello, I'm French so I'm sorry if I make some mistakes. I have created a database and I have generated classes thanks to Cayenne. Driver used : org.apache.derby.jdbc.EmbeddedDriver URL : jdbc:derby:database I have created a "main" class to insert…
40 Apr 30 2012
04:10
May 3 2012
04:55
Merge operation
By: yunus
Hi,I have a relation Applicant in which all user details are stored. I want to give user an option of updating his details so i want to know how to update Applicant relation in cayenne. Its quite similar like MERGE in JPA where old date has been…
1 May 2 2012
05:29
May 2 2012
05:34
Fetching data from two related tables simultaneoulsy
By: yunus
Hi, i have problem..I want to fetch data from two tables which are inter related through primary key Scenario is: I have table Applicant in which there are attribute "name" & "ration_Id" and other table is Certificate which include attribute…
2 Apr 27 2012
05:02
Apr 27 2012
05:31
Cayenne 3.0.3 Relationship fault when adding DBRelationShip join
By: Marco Gattei
Hi everyone, recentlty i add to rework on a project that used Cayenne 3.0.1 . I did two modification: - upgrade to cayenne 3.0.2 ( worked fine ) - i had to change (by dba request ) one of my relationship join, adding another field …
1 Apr 24 2012
05:30
Apr 26 2012
04:28
Multiple data nodes to be selected at run time
By: Tobias Wolff
Hi, we are working with Cayenne in a small team. Each of the team members has its own local environment as well as we do have a staging and a production server - again having it's own environments. Ideally, I would want to have only one…
3 Apr 23 2012
11:11
Apr 24 2012
02:21
Unable to get the relationships defined in Modeller to the PostgreSQL DB
By: Kanwar Manish
Hi All I am using Cayenne Modeller version 3.0.2. I am using PostgreSQL 9.1 installed locally. Environment is windows XP. I have defined my data map and added all the tables required in the DB. I have also defined some relationships. I am able…
4 Apr 23 2012
08:04
Apr 23 2012
11:09
Finding composite key using cayenne
By: yunus
Hi, I have a table in which two attributes are primary key i.e composite.I am trying to access to match it with the user entered values but i am not able to fetch it. So can anyone tell me how to fetch composite key from database using cayenne? …
3 Apr 20 2012
05:12
Apr 20 2012
08:46
Error while using JSF with Maven and Cayenee for persistence
By: yunus
Hi...i am using JSF for presentation with Maven project and cayenne for persistence...but when i enter the data in jsp page and press action button it gives the following error...please tell me how to solve this... SEVERE:…
1 Apr 12 2012
06:31
Apr 12 2012
07:48
Using CayenneModeler as standalone tool
By: Robert Huber @ 7r
Hi As a newbie to Cayenne, I would like to know if CayenneModeler can be used sensibly as a standalone application? As described in the docu, if I save a project, I get the 2 files cayenne-<project-name>.xml and <project-name.map.xml.…
12 Apr 4 2012
02:39
Apr 10 2012
18:31
Re: lazy loading
By: Jerome.moliere
Hi all... Michael I may have not understood the question but from my understanding the answer is NO ....there was a not inside .... Jerome ------Original Message------ From: Michael Gentry To: use### @cayenne.apache.org ReplyTo:…
35 Mar 28 2012
07:41
Apr 10 2012
10:18