Re: [dbutils] Problem with common DBUtil Bean

2004-12-21 Thread spframe live
Right I just changed from long to java.math.BigDecimal and for date field java.sql.Timestamp and it worked. I will try new build soon. Thanks for quick reply spframe live David Graham [EMAIL PROTECTED] wrote: First, you need to alias the column names in the sql to avoid having to use the

Problem with common DBUtil Bean

2004-12-20 Thread spframe live
I have Table with these column name and types INDEX_ID NUMBER, DOCUMENT_TYPE VARCHAR2(3), DATE_ENTERED DATE, SELECT index_id, document_type, date_entered from MyTable; and database has required data. public MyBean class { public long index_ID; public String

Re: [dbutils] Problem with common DBUtil Bean

2004-12-20 Thread David Graham
First, you need to alias the column names in the sql to avoid having to use the horrible underscore in your java method names: select index_id as indexID, document_type as documentType, date_entered as dateEntered from MyTable DBUtils 1.0 didn't contain very intelligent column to bean property