exta-feira, 23 de janeiro de 2004 16:06
Para: [EMAIL PROTECTED]
Assunto: Re: [castor-dev] Castor and DBCP question ...
Michel Bertrand wrote:
> Hi !
>
> I'm using Castor and DBCP in my app and I'm having lots of pool exhausted
> exceptions. I believe that it happens because
a bit more information
about how you are using Castor and DBCP together? I successfully use
Tyrex and Castor together in Tomcat 4.1 so DBCP should be even easier.
Patrick
Michel Bertrand wrote:
>Hi !
>
>I'm using Castor and DBCP in my app and I'm having lots of pool exha
Hi !
I'm using Castor and DBCP in my app and I'm having lots of pool exhausted
exceptions. I believe that it happens because I have a lot of processing when
showing my app pages. But I'm sure of closing each Castor DB connection after
its use. So, I don't see any reason to the exceptions and ano
ro de 2003 16:26
Para: [EMAIL PROTECTED]
Assunto: Re: [castor-dev] Castor and StackOverflowError
This one time, at band camp, Michel Bertrand said:
MB>I'm having a java.lang.StackOverflowError trying to persist
MB>one of my objects in the database. I have an ecommerce app and
MB>I m
Hi !
I'm having some difficulties to implement the following mapping:
SalesOrder
OrderItem
PhotoOrder
Hi !
I'm having a java.lang.StackOverflowError trying to persist
one of my objects in the database. I have an ecommerce app and
I map the following to process my orders:
SalesOrder
...
w can I map this using Castor ? Could you help me ?
> >
> >I have already read the documentation but I did not find any example or
> >something to help me ( maybe it was not so clear to my eyes ).
> >
> >Any help would be very appreciated.
> >
> >Tks,
>
ut I did not find any example or
>something to help me ( maybe it was not so clear to my eyes ).
>
>Any help would be very appreciated.
>
>Tks,
>Michel Bertrand.
Hi Michel,
I assume your model's somehow like this
class Order {
private java.util.Collection orderIt
Hi again !
Does anyboy knows how could I workaround this situation enhancing
Castor to check whether it can search "castor.properties" or not ? I
mean, which source files should I study to change ?
-Mensagem original-
De: Michel Bertrand
Enviada em: sexta-feira, 3 de outubro
[mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 2 de outubro de 2003 17:37
Para: [EMAIL PROTECTED]
Assunto: Re: [castor-dev] Problems with Castor 0.9.5 and Tomcat in
SecurityMode.
Bruce Snyder wrote:
>
> This one time, at band camp, Michel Bertrand said:
>
> MB>I
Hi !
I'm having problems to startup my application using Tomcat in
Security Mode. When I try to query database using my
persistent classes I have the following error:
java.security.AccessControlException: access denied (java.io.FilePermission
C:\j2sdk1.4.1_01\jre\lib\castor.properties read)
Di
Thanks !!!
-Mensagem original-
De: Stein M. Eliassen [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 26 de setembro de 2003 16:10
Para: [EMAIL PROTECTED]
Assunto: Re: [castor-dev] Problems to delete an object.
Michel Bertrand wrote:
>
> Photo photo = photo = Photo.fi
Hi !
I'm having the following error when I try to delete an object:
org.exolab.castor.jdo.ObjectNotPersistentException: The object of type com.ecomm
erce.jdo.Photo is not persistent -- it was not queried or created within this
transaction
The code is :
session.getDatabase().begin();
EMAIL PROTECTED]
Assunto: Re: [castor-dev] Is it strange or not ?
Michel Bertrand wrote:
> Hi !
>
> I'm having the famous org.exolab.castor.jdo.DuplicateIdentityException problem
> when trying to store an object. The code fragment which causes this error is:
>
> The excep
astor-dev] Is it strange or not ?
Did you have key generators for your objects? If not, then you must
manualy set ID field.
-Original Message-
From: Michel Bertrand [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 8:41 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] Is it st
Hi !
I'm having the famous org.exolab.castor.jdo.DuplicateIdentityException problem
when trying to store an object. The code fragment which causes this error is:
if ( (frm.getDescription1() != null && frm.getDescription1().trim().length() > 1 ) ||
(frm.getTitle1() != null && frm.getTitle1().
16 matches
Mail list logo