Re: DI example

2011-03-08 Thread Erdinc
I didn't have clear understanding of what runtime or module is. Thank you for your reply. From: Andrus Adamchik To: user@cayenne.apache.org Sent: Tuesday, March 8, 2011 1:30 PM Subject: Re: DI example On Mar 8, 2011, at 1:13 PM, Erdinc wrote: > You mean in order to use DI you shou

Re: DI example

2011-03-08 Thread Erdinc
in constructor. If you have a specific scenario, I can provide a more detailed example. Andrus On Mar 7, 2011, at 1:45 PM, Erdinc wrote: > Hi, >  > I want try to use DI feature of Cayenne but having difficulty to find a good > way to use. My application is a standalone applicatio

DI example

2011-03-07 Thread Erdinc
Hi,   I want try to use DI feature of Cayenne but having difficulty to find a good way to use. My application is a standalone application. I created runtime with the command; ServerRuntime = new ServerRuntime("cayenne-X.xml"); I think I have to implement the "configure" method of a Module object a

Re: java.lang.NoSuchMethodError: org.apache.cayenne.access.QueryLogger.setLogger(Lorg/apache/cayenne/log/JdbcEventLogger;)V

2011-03-01 Thread Erdinc
mystery for me. Any idea? CommonsJdbcEventLogger implements JdbcEventLogger Andrus On Mar 1, 2011, at 4:15 PM, Erdinc wrote: > Hi, > I just downloaded v 3.1M1. When I try to create ServerRuntime with the command; > > new ServerRuntime("cayenne.xml"); > > >

java.lang.NoSuchMethodError: org.apache.cayenne.access.QueryLogger.setLogger(Lorg/apache/cayenne/log/JdbcEventLogger;)V

2011-03-01 Thread Erdinc
Hi, I just downloaded v 3.1M1. When I try to create ServerRuntime with the command; new ServerRuntime("cayenne.xml"); It gives the error on the subject line;   Caused by: java.lang.NoSuchMethodError: org.apache.cayenne.access.QueryLogger.setLogger(Lorg/apache/cayenne/log/JdbcEventLogger;)V  at

Re: HSQL 2.0 problem

2010-12-17 Thread Erdinc
Thank you for your reply, currently I reverted back to v1.8, I may try it later...   From: Aristedes Maniatis To: user@cayenne.apache.org Sent: Fri, December 17, 2010 10:06:54 AM Subject: Re: HSQL 2.0 problem On 17/12/10 6:57 PM, Erdinc wrote: > Hi, &g

HSQL 2.0 problem

2010-12-16 Thread Erdinc
Hi, I think using HSQL 2.0 with Cayenne Modeler is not possible as the modeler uses hsql 1.8 internally. Two versions conflict each other and this causes modeler stops working.

Re: Cayenne pattern quesiton

2010-03-31 Thread Erdinc
I agree. My favorite method is to use Domain Driven Design techniques. From: Malcolm Edgar To: user Sent: Thu, April 1, 2010 6:32:05 AM Subject: Re: Cayenne pattern quesiton I would argue against putting finder methods in the generated entities, as I think i