From: Kal A. <ka...@te...> - 2004-03-02 09:12:59
|
Hi Prudence, There is an Ant target hibernate-initdb which you can use to load the schema (be warned, if you install it over an existing database, the tables get dropped first). You need to edit the Hibernate connection parameters in your build.properties file and then just use ant hibernate-initdb to install the schema. If you want to run the InstallDB program, its full Java class name is org.tm4j.topicmap.hibernate.InstallDB and you will need the hibernate JAR files on your CLASSPATH. From TM4J 0.9.0, the hibernate JAR files are now in the directory lib/hibernate, so if you were originally importing just the JAR files from lib, you will need to modify your CLASSPATH to include the files in lib/hibernate. Cheers, Kal On Tue, 2004-03-02 at 01:49, Prudence Au wrote: > Hi all, > > I installed TM4J 0.9.0(final)and I couldn't find installDB.class to load the schema. > Where can I find that? Or is it done in another way? > > Thanks in advance. > > Cheers, > Prudence > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Tm4j-developers mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-developers -- Kal Ahmed <ka...@te...> techquila |