Hi Jens, OJB defines a layer between my java app and a database. Since the repositiory file contains a description of the tables and column names I would think it to be bad design on my part if I repeated that information some-where hard-coded in my programm by doing a direct sql using table & colum names.
I could very well imagine an OJB function int max( String fieldname, Class c), after all int getCount( Query q) does exist ! > > I don't know if this is possible with Ojb at all, since the query you > mention has nothing to do with object mapping, it just returns a single > value. > I usually use plain jdbc for such queries. > Any comments ? Cheers, Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
