I think you need to modify this line as well: https://github.com/dadoonet/legacy-search/blob/00-legacy/src/main/webapp/WEB-INF/person-dao-context.xml#L29 <https://github.com/dadoonet/legacy-search/blob/00-legacy/src/main/webapp/WEB-INF/person-dao-context.xml#L29>
-- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr <https://twitter.com/elasticsearchfr> | @scrutmydocs <https://twitter.com/scrutmydocs> > Le 12 févr. 2015 à 20:44, William Yang <williamyan...@gmail.com> a écrit : > > Hi David, > I managed to figure out the MySQL things! > I'm now getting these errors and I don't know why. I'm testing only an empty > database called "test", there aren't any tables in it: > > 11:43:10,397 ERROR [SchemaExport] Unsuccessful: alter table Person add > constraint FK8E4887752ACD7745 foreign key (marketing_id) references Marketing > > 11:43:10,397 ERROR [SchemaExport] Cannot add foreign key constraint > > 11:43:10,523 ERROR [SchemaExport] Unsuccessful: alter table Person add > constraint FK8E488775BD8AD345 foreign key (address_id) references Address > > 11:43:10,523 ERROR [SchemaExport] Cannot add foreign key constraint > > 11:43:10,523 ERROR [SchemaExport] Unsuccessful: create sequence > hibernate_sequence > > 11:43:10,523 ERROR [SchemaExport] You have an error in your SQL syntax; check > the manual that corresponds to your MySQL server version for the right syntax > to use near 'sequence hibernate_sequence' at line 1 > > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elasticsearch+unsubscr...@googlegroups.com > <mailto:elasticsearch+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/f12b9057-e17b-494a-bfaf-e9ca7c6e8906%40googlegroups.com > > <https://groups.google.com/d/msgid/elasticsearch/f12b9057-e17b-494a-bfaf-e9ca7c6e8906%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/30F9D287-F683-43B2-943A-EF5E9373EED7%40pilato.fr. For more options, visit https://groups.google.com/d/optout.