Dzo是一个数据库的小工具,用以帮助维护不同的数据库结构,当前支持MySQL 和Oracle、SQLServer。
Thegoalofdzoistotreatapplicationsdatabaseobjectsthesamewaytheapplicationssourcecodeistreated,withrespecttodevelopment,revisioncontrol,anddeployment.Dzousesatextfilethatcontainsnativecreatestatementsforalldatabaseobjectsandcomparesthemagainsttheactualdatabase-schema.Asaresult,dzocreatestheSQLstatementsneededtoupdatethedatabaseschema(oryoucanletdzoexecutetheSQLstatementsdirectly).IfyourapplicationlivesinaTomcatorJBosscontainer,dzohasaservletthatcontrolsthedeploymentprocess,undeploystheoldapplication,inspectandexecutetheneededdatabasechanges,andfinallydeploysthenewapplication.DzocurrentlyworkswithMySQLandOracle.
评论