RE: Re: RE: Re: Re: RMI SybTimestamp Exception

[email protected] Mon, 25 Jul 2011 15:49:29 +0200
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <OFB71830FD.8583E3DF-ONC12578D8.004AFD8F-C12578D8.004B6DAC@bull.net>
So the problem comes from the timestamp object (see accessDate field in 
TestBean class) which embeds a 
'com.sybase.jdbc3.tds.SybTimestamp' object.

you might try to put a standard object in setAccessDate() method rather 
than the driver specific one.

Regards;
-- 

---------------------------------------------------------------- 
Benoit Pelletier 
http://jonas.ow2.org 
Bull, Architect of an Open World TM 
http://www.bull.com 




De :    <[email protected]>
A :     [email protected]
Date :  07/25/2011 15:01
Objet : [jonas] Re: RE: Re: Re: RMI SybTimestamp Exception



 
Find below 'getCreatedAdminUser()' Method  signature. 
public ArrayList<TestBean> getCreatedAdminUser(String language, String 
sort,
String direction){

The method getCreatedAdminUser() is returning an "ArrayList<TestBean>" 
where
inside the TestBean Class :


import java.sql.Timestamp;

public Timestamp getAccessDate() {
                 return accessDate;
}

public void setAccessDate(Timestamp accessDate) {
                 this. accessDate = accessDate;
}

Note that we are running the same application using Sybase jconn2.jar JDBC
driver and we aren't facing the reported exception!

Best Regards