Re: AW: AW: index a database

2010-01-29 Thread luciusvorenus
Thank you Marc and thank u all... it` working :) :clap: Marc Schwarz wrote: > > Maybe you should seperate the add method from the database function... > > Separate the db loop something like that: > > try >{ > ResultSet rs2 = stm.executeQuery(sql); > while(

AW: AW: index a database

2010-01-28 Thread Marc Schwarz
Maybe you should seperate the add method from the database function... Separate the db loop something like that: try { ResultSet rs2 = stm.executeQuery(sql); while(rs2.next()) { String text = rs2.getString("textvalue"); addDoc(w,