Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > Building master SQL script using ANT (Sybase T-SQL/VSS)
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 5th October 06:18
shane mingins
External User
 
Posts: 1
Default Building master SQL script using ANT (Sybase T-SQL/VSS)



Initially I am not sure what the repository has to do with anything? You
wish to create the db schema from the project not the repository, correct?

Have a look at the apache project for OJB .... I am not sure where it is at
but one of the things it was aiming to do was to generate a db schema from
the XML file that is used to define the class->table dependencies. OJB is
an O/R Mapping tool. It is open source so you may get ideas from it or may
decide that it is just the solution you need. http://db.apache.org/ojb/

Otherwise I think what you are wishing to do would greatly be influenced by
how you are accessing the the database from your application. E.g. are you
using a Data Mapper pattern as described in Pattern of Enterprise
Application Architecture (Martin Fowler)?

HTH
Shane


--
"Yes you could implement an OO model in C or assembler, even in pure binary
if you wanted to. And you could also paint your house with a toothbrush. I
just hope that you have better and more enjoyable things to do with your
time." - Rod Davison
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666