Jean-Francois Leveque

Suppression ajout accidentel.

1 tee creeV3Country.log 1 tee creeV3Country.log
2 2
3 -create table Country ( 3 +-- create table Country (
4 - countryId int(11) NOT NULL AUTO_INCREMENT, 4 +-- countryId int(11) NOT NULL AUTO_INCREMENT,
5 - countryName varchar(100) DEFAULT NULL, 5 +-- countryName varchar(100) DEFAULT NULL,
6 - PRIMARY KEY ('countryId') 6 +-- PRIMARY KEY ('countryId')
7 -) ENGINE=InnoDB DEFAULT CHARSET=utf8; 7 +-- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
8 8
9 insert into Country (countryId, countryName) 9 insert into Country (countryId, countryName)
10 - select ID_PAYS, LIB_PAYS from pays; 10 + select ID_PAYS, LIB_PAYS from v2.pays;
11 11
12 -show create table Country;
...\ No newline at end of file ...\ No newline at end of file
12 +-- show create table Country;
...\ No newline at end of file ...\ No newline at end of file
......
1 -package org.legrog.configuration;
2 -
3 -/**
4 - * Created by leveque on 31/01/17.
5 - */
6 -public class SolrJConfiguration {
7 -}
1 -/*
2 -package org.legrog.configuration;
3 -import org.apache.solr.client.solrj.impl.HttpSolrClient;
4 -import org.springframework.data.solr.core.SolrOperations;
5 -import org.springframework.data.solr.core.SolrTemplate;
6 -
7 -import javax.enterprise.context.ApplicationScoped;
8 -import javax.enterprise.inject.Produces;
9 -*/
10 -/*
11 -public class SolrTemplateProducer {
12 - @Produces
13 - @ApplicationScoped
14 - public SolrOperations createSolrTemplate() {
15 - return new SolrTemplate(new HttpSolrClient.Builder("localhost:8983/solr").build());
16 - }
17 -}
18 -*/