RE: Date formatting in OJB?

2004-07-02 Thread Martin I. Levi
Yep, I figured out this later... the solution I found is to create a subclass from Date, override the toString() method and create a custom convertion between the SQL DATE type and my CustomDate java class. I mean I had no interest on manipulating the date, i just wanted to have it in a String in o

RE: Date formatting in OJB?

2004-07-01 Thread Guillaume Nodet
> > When I obtain a date throw OJB its format changes from the original > configured in the DB. I mean my postgres DB is set to show dates > in a "dd/mm/" format an OJB shows a "-mm-dd" format. > Is there anyway to configure OJB to work with a particular date format > or do I have to do th

Re: Date formatting in OJB?

2004-07-01 Thread Jakob Braeuchi
hi martin, ojb does not use the dateformat defined in the database. jakob Martin I. Levi wrote: Hi! When I obtain a date throw OJB its format changes from the original configured in the DB. I mean my postgres DB is set to show dates in a "dd/mm/" format an OJB shows a "-mm-dd" format. Is th