From: Kal A. <ka...@te...> - 2004-08-29 14:22:29
|
Hi Mathias, TM4Web/Velocity does support the Hibernate backend, but the <topicmaps> element is only provided for loading topic maps from a file-system directory (so its only used with the in-memory backend). You have to configure each topic map you want displayed separately. It would probably be nice if there was an option to list either all of the topic maps in the database or some subset (e.g. by matching the baseLocator against a regular expression). I'll look into adding something like that for 0.3. Cheers, Kal On Sat, 2004-08-28 at 18:25, Mathias Reinhardt wrote: > Hello, > > I'm stuck with setting up TM4Web/Velocity 0.2rc1 with a hibernate > backend. > Configuration is > <provider name="hibernate" > factory="org.tm4j.topicmap.hibernate.TopicMapProviderFactoryImpl"> > <provider-properties> > <property name="hibernate.connection.url" > value="jdbc:mysql://localhost/tm4mail"/> > <property name="hibernate.connection.username" value="***"/> > <property name="hibernate.connection.password" value="***"/> > <property name="hibernate.dialect" > value="net.sf.hibernate.dialect.MySQLDialect"/> > <property name="hibernate.connection.driver_class" > value="com.mysql.jdbc.Driver"/> > </provider-properties> > </provider> > > I don't get any errors but I don't get any TopicMaps from by backend > either. In stdout.log it says > "topicmaps element ignored for provider 'hibernate' which is not in-memory." > > Do I miss something or is Hibernate support currently not available with > TM4Web/Velocity? > > Thanks, > Mathias > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users -- Kal Ahmed <ka...@te...> techquila |