Yes Sir, you got it, it works now thanks!!

Regards,

Patrick Reyes


                                                                                       
                                                     
                      Charles Anthony                                                  
                                                     
                      <[EMAIL PROTECTED]        To:       "'OJB Users List'" <[EMAIL 
PROTECTED]>                                   
                      ftware.com>                   cc:       (bcc: Patrick 
Reyes/CDS/CG/CAPITAL)                                           
                                                    Subject:  RE: URGENT: OJB crashing 
when getting a connection with Sybase                
                      11/04/2003 08:26 AM                                              
                                                     
                      Please respond to "OJB                                           
                                                     
                      Users List"                                                      
                                                     
                                                                                       
                                                     
                                                                                       
                                                     




It seems that you are using PlatformSybaseASAImpl.

Try using PlatformSybaseASEImpl :

<jdbc-connection-descriptor platform="SysbaseASE" ...

 in repository.xml

(I know nothing about this, I just looked in the source code and saw there
were two different platforms for Sybase, one of which executes that
statement, and one of which doesn't.)

Cheers,

Charles.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 04 November 2003 07:27
> To: 'OJB Users List'
> Subject: URGENT: OJB crashing when getting a connection with Sybase
>
>
>
>
>
>
> Hello,
>
> I am getting an exception with Sybase 11 when using OJB. p6spy got the
> following sql statement:
>
> >set temporary option RETURN_DATE_TIME_AS_STRING = On
>
> The 'temporary' keyword does not exist in Sybase and causes the OJB to
> crash, does anybody have an idea on what I could do to solve
> this issue ?
>
> ]: Platform dependent initialization of connection failed:
> Incorrect syntax
> near the keyword 'temporary'.
>       at
> org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl.
> getConnectionFromPool(Unknown
>  Source)
>       at
> org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImp
> l.lookupConnection(Unknown
>  Source)
>       at
> org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.getCon
> nection(Unknown
>  Source)
>
> Thanks and regards,
>
> Patrick Reyes
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


___________________________________________________________
HPD Software Ltd. - Helping Business Finance Business
Email terms and conditions: www.hpdsoftware.com/disclaimer



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to