Re: On the fly reengineering of database schema

2007-07-20 Thread Øyvind Harboe
On 7/20/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > Is there any reason, in principle, why we couldn't read that info > during startup of the application? IOW, reengineering on the fly. No reason - you can totally do it. Cayenne runtime mapping is completely dynamic. It's not like we would

Re: On the fly reengineering of database schema

2007-07-20 Thread Andrus Adamchik
Is there any reason, in principle, why we couldn't read that info during startup of the application? IOW, reengineering on the fly. No reason - you can totally do it. Cayenne runtime mapping is completely dynamic. It's not like we would need to re-enhance Java bytecode or anything :-) Andr

On the fly reengineering of database schema

2007-07-20 Thread Øyvind Harboe
Currently our Cayenne app has the database field size and types stored in the configuration files that ship with the application. They were generated in the Cayenne modeler. Is there any reason, in principle, why we couldn't read that info during startup of the application? IOW, reengineering on