Hi,
1) I am new to OJB and Testing OJB with various options to suit my database. I have a TimeStamp field in my table and I would like to enter the exact time (In Nano Seconds) when I call the Store method in broker. In SQL we used to do like this insert into table values (TIMESTAMP,...). Is there any equivalent of this in OJB? I am using org.apache.ojb.broker.PersistenceBroker. (I don't want to call java.sql.TimeStamp constructor by passing the arguments to construct the timestamp object) 2) In jdbc the return type of preparedStatement.executeUpdate() method gives the no of rows updated or inserted. By checking the return type we can say that the operation was successful or not. In OJB we have the object and we will call store or delete methods. Is there a way to know whether that operation was successful or not? If there is an error, is it possible to find out the SQLErrorCode for that error like SQLException.getErrorCode() ? Thanks & Regards, Gopi.
