@NafanyaVictorovna sure enough, that logging configuration file is not included in our base. You can add those lines into a file as documented in the Spring Boot docs.
Your specific question was about
hibernate.show_sql. The reason this gets clobbered is a we have a class called
JPAPropertiesPersistenceUnitPostProcessor. This allows us to override some
persistence.xml values from the Spring Environment (properties files).
Sooooo, in your case, you are trying to set
hibernate.show_sql. Instead, you can set
blPU.hibernate.show_sql in your Spring properties files (
runtime-properties/development.properties, etc). You can see that it's overridden in the
DemoSite project here to be
You might want to review the
JPAPropertiesPersistenceUnitPostProcessor to see the other properties that can be set via environment properties instead of
I have a problem with adding a FacetSearch on BroadLeaf. I need to add an additional filter on product research that is not based on the solr index but goes straight on the db. It is a filter on product availability (AVAILABLE / NOT AVAILABLE). Has such a thing ever been implemented? Alternatively, it was decided to act on the field of the quantityAvailable index and re-index every few hours. In this case, however, trying to define the ranges in this way:
0 TO 1 1 TO *
but only 1 TO * is displayed, even if there are actually products with availability 0. A possible problem is that we had to set the field availability to double and not int in the scheme because, with int it generated a cast error since in the range the values are numeric and therefore, for example, 0.0000. Do you have a possible idea on how to solve this problem? My field in schema is this:
<field name="it_quantityAvailable_i" type="double" indexed="true" stored="true"/>
org.broadleafcommerce.core.search.service.solr.AbstractSolrSearchServiceExtensionHandler#modifySolrQuery(org.apache.solr.client.solrj.SolrQuery, java.lang.String, java.util.List<org.broadleafcommerce.core.search.domain.SearchFacetDTO>, org.broadleafcommerce.core.search.domain.SearchCriteria, java.lang.String)
@shamseerpc For all intents and purposes that error can be ignored. It's the m2e plugin not recognizing one of the goals that's used in the jrebel plugin but it is actually valid
@ttdonovan 6.0.x is the branch to start with. 6.1.x is in early stages of development and is unstable at the moment. I understand the confusion. As we don't have a master branch it can be confusing as to what the latest is but usually the default branch we have set it to is the current branch.
As for docker, we've dabbled with it for our demo before however when we went to Spring Boot in 5.2 we left it as is since it's two commands (minus the
cd so 3 I suppose)
~/path-to-project > mvn clean install ~/path-to-project > cd site ~/path-to-project/site > mvn spring-boot:run
to run api or admin simply go to those instead. Like Daniel said, we recommend Java 8 however 6.0.x was developed to work with up to JDK 10
mvn clean installon demo site now
2019-10-24 15:28:14.542 ERROR 32763 --- [nio-8443-exec-3] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path  threw exception
at org.broadleafcommerce.common.web.BroadleafThemeProcessor.process(BroadleafThemeProcessor.java:55) ~[broadleaf-common-6.0.7-SNAPSHOT.jar:na]
2019-10-24 15:28:14.674 INFO 32763 --- [nio-8443-exec-5] .p.w.s.s.SessionFixationProtectionFilter : Session has been terminated. ActiveID did not match expected value.
BroadleafCommerce/BroadleafCommercerepository however it also has some of our Enterprise modules such as MultiTenant-SingleSchema and OMS