Hi,

I tried to call doSelect with a date object in the criteria but the query
failed.  Apparently the query that BasePeer created a query String that had
a date format that was not supported by my database.

I checked the code and BasePeer builds up a Statement and passes it as a
String to Village where it is executed.  The problem lies in the fact that
only a String Statement is passed to village and my db does not recognize
the Data.toString() format.  I solved my problem by manually calling
IDBroker.getConnection and calling a PreparedStatement.

I'd like to know if there is a better way of doing this?  I would not like
to manually create a PreparedStatement each time I need to work with dates.

~ Leon



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to