select * from bazardnua_advert advert where LOCATE('б.у',name)>0;
select * from bazardnua_advert advert where name like '%б.у%';
plsql
проиходит. Процедура ведь уже лежит в ДБ. import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
public class EntryPoint {
public static void main(final String args[]) {
final String fileName = "output.html";
final String url = "https://mail.ru/";
try (final BufferedWriter writer = new BufferedWriter(new FileWriter(fileName))) {
final Document doc = Jsoup.connect(url).get();
writer.write(doc.outerHtml());
} catch (final IOException e) {
// Error handling
}
}
}
SELECT * FROM documents WHERE MATCH (title) AGAINST ('поиск');