gregturn / task-manager-app

After reading http://www.programming-free.com/2014/07/crud-springmvc-restful-webservices-angularjs.html, I rewrite the code using Spring Data REST to simplify
22 stars 12 forks source link

MySQL Database AutoConfig #1

Open edwardbeckett opened 10 years ago

edwardbeckett commented 10 years ago

I wasn't able to get the production profile to auto-configure without adding a property line to app.props...

Adding the following did the trick ...

//application.properties 
spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
gregturn commented 10 years ago

It may be specific to the version of MySQL you are using. I've written code against MySQL in the past and not had to do that.

edwardbeckett commented 10 years ago

Possibly... I'm using MySQL 5.6 ... Thanks for converting the demo to Spring Boot btw... Nice Work :+1: It could be something with auto-configure ... not sure... I'm more accustomed to using Spring 3... Boot's quite new to me.