Re: [Beankeeper-discussion] Schema changes II
Brought to you by:
demonsystem
From: Brautigam R. <de...@ne...> - 2009-03-01 18:32:07
|
Shay Matasaro írta: > does a table structure only get updated , when an object of that type is > written to the DB? > > i.e. until first insert schema wont get updated? Each class gets updated when it's used the first time by any of the Store methods, or any of it's super- or sub-classes are used. In short all tables are updated when BeanKeeper needs to use it. "Static" classes are updated once each run, while dynamic classes are always updated if their attributes change runtime. > Thanks, > Shay Robert. |