Re: Setup hsqldb tables in memory?

2006-11-03 Thread Cris Daniluk
Looks ilke the DOUBLE(22) is the problem.. HSQLDB doesn't support precision on a double. Can you include the DbEntity in the DataMap? the ObjEntity isn't very helpful. Cris On 11/3/06, Christian Mittendorf [EMAIL PROTECTED] wrote: Am 03.11.2006 um 00:01 schrieb Christian Mittendorf: Thanks

Re: Setup hsqldb tables in memory?

2006-11-03 Thread Cris Daniluk
=rechnungsBetrag type=DOUBLE isMandatory=true length=22/ db-attribute name=rechnungsDatum type=DATE isMandatory=true length=10/ /db-entity Christian Am 03.11.2006 um 15:13 schrieb Cris Daniluk: Looks ilke the DOUBLE(22) is the problem.. HSQLDB doesn't support precision on a double. Can you

Re: Using Cayenne withTomcat gives ClassCastException

2006-11-02 Thread Cris Daniluk
On 11/2/06, John [EMAIL PROTECTED] wrote: Hello Cris, No you misunderstood me. I develop with Eclipse and I have or (HAD) a Cayenne.jar under my ThierdpartyJars. And another Cayenne.jar for ./tomcat/shared/lib/ and when i start the application using Tomcat and Tomcat uses the shared jars.

Re: Using Cayenne withTomcat gives ClassCastException

2006-11-01 Thread Cris Daniluk
This seems like some kind of classloader issue. John need to make sure that cayenne.jar is loaded by the same classloader as the app code. In most simple case this means putting it in the war. But there are more weird cases such as this one: Hi thanks for answering, You are right, i use

Re: implementing subreports with jasperreports and struts

2006-06-13 Thread Cris Daniluk
Are you referring to the Jasper code on the wiki? What version of Struts/Jasper/Cayenne? On 6/13/06, Alan Baltazar [EMAIL PROTECTED] wrote: does anyone know how to implement subreports with jasperreports and struts? __ Do You Yahoo!? Tired of

Re: a...bug with pgsql and addPrefetch? (Cay 1.2B2)

2006-05-12 Thread Cris Daniluk
I think this is more a limitation of the current prefetch behavior, than an actual bug. You may want to experiment with the prefetch advice, or semantics: http://objectstyle.org/confluence/display/CAYDOC/Prefetching I'm assuming you're using 1.2 latest release, of course. If you're using

Re: cayenne+jasperreports problem

2006-05-11 Thread Cris Daniluk
FYI, this was written for Jasper 1.1. 1.2 has some significant changes that probably lead to an easier way to do integration w/Cayenne. I have no idea if this works with 1.2 or not. Cris On 5/11/06, Alan Baltazar [EMAIL PROTECTED] wrote: hello, i implemented this

Re: dump cache contents

2006-05-10 Thread Cris Daniluk
The problem is that I can't reproduce an error in the controled environment in which I debug. This is why I need as much relevant information as possible. Still, I believe I've thought of a way to log everything I need. Rather than log it, why not serialize it to disk? Then, you can build a

Re: problems with association table...

2006-04-05 Thread Cris Daniluk
There's two ways to do this - if the newsdocs table doesn't have any fields at all other than the doc_id and news_id, you don't even need to create an ObjEntity for it (you still need a DbEntity though). Just create a flattened relationship in the ObjEntity for News that goes to document