Re: Populating JTable and JList with data

2007-11-12 Thread Peter Karich
Phoenix Hawk schrieb: Hi there... Background: using Cayenne 2.0.3 with NetBeans 5.5.1 (JDK 1.5) on Windows XP SP2... I have used the Cayenne Modeler to perform a reverse engineering on my existing database following the online tutorial. I am new to the java programming "model", previously I am

Re: Populating JTable and JList with data

2007-11-12 Thread Aristedes Maniatis
On 13/11/2007, at 2:03 PM, Phoenix Hawk wrote: Does anyone have a code snippet or a link (I have looked at the Cayenne petstore, examples on the wiki, but none of them have what I want, or maybe I do not understand enough Java) that shows how the results of a query can be used to populate

Populating JTable and JList with data

2007-11-12 Thread Phoenix Hawk
Hi there... Background: using Cayenne 2.0.3 with NetBeans 5.5.1 (JDK 1.5) on Windows XP SP2... I have used the Cayenne Modeler to perform a reverse engineering on my existing database following the online tutorial. I am new to the java programming "model", previously I am doing C/C++, perl, php,

Re: Cayenne 3.0M2 and log4j

2007-11-12 Thread Andrus Adamchik
Cayenne used to setup basic Log4J configuration if it wasn't setup by the user. Now it assumes that it is not the only framework in the application that relies on shared logging service, so it does not attempt to configure anything. So you may need to setup Log4J yourself on app startup, e.

Cayenne 3.0M2 and log4j

2007-11-12 Thread David Marko
Can someone help with Cayenne 3M2 and log4j? When having commons-logging and log4j libraries available and running ... it claims as below and no INFO logs appears on console. --- log4j:WARN No appenders could be found for logger (org.apache.cayenne.conf.DefaultConfiguration). log4j:WARN Please ini

Re: [ANN] Cayenne 3.0M2 released

2007-11-12 Thread Andrus Adamchik
JSR-220 is a definitive (although not user friendly) source of the EJBQL syntax: http://jcp.org/en/jsr/detail?id=220 I would imagine that syntax used by OpenJPA is also compatible. Andrus On Nov 12, 2007, at 3:01 AM, David Marko wrote: Where can I find more info on EJB QL? Is e.g. http:

Re: [ANN] Cayenne 3.0M2 released

2007-11-12 Thread David Marko
Where can I find more info on EJB QL? Is e.g. http://openjpa.apache.org/builds/1.0.1/apache-openjpa-1.0.1/docs/manual/jpa_langref.html suitable/compatible with Cayenne implementation? David Aristedes Maniatis wrote: > > On 12/11/2007, at 7:24 AM, David Marko wrote: > >> Is there any example fo