Properties Files in Hybris

Lets understand the properties files in Hybris We basically have 3 main properties files in Hybris to put the configuration values in the form of key value pair. 1) project.properties file in platform folder 2) project.properties file in each extension 3) local.properties file in config folder Project.properties file in platform folder This file contains the […]

Share this article on

Configuring Custom database in Hybris

By default,Hybris uses HSQL DB and it’s been configured in the project.properties file inside platform folder. If we open the project.properties file inside platform folder we can find the below details #HSQL DB configuration db.url=jdbc:hsqldb:file:${HYBRIS_DATA_DIR}/hsqldb/mydb;shutdown=true;hsqldb.cache_rows=100000;hsqldb.cache_size=20000;hsqldb.write_delay_millis=1000;hsqldb.inc_backup=true;hsqldb.defrag_limit=2;hsqldb.nio_data_file=false db.driver=org.hsqldb.jdbcDriver db.username=sa db.password= db.tableprefix= #HSQL DB configuration db.url=jdbc:hsqldb:file:${HYBRIS_DATA_DIR}/hsqldb/mydb;shutdown=true;hsqldb.cache_rows=100000;hsqldb.cache_size=20000;hsqldb.write_delay_millis=1000;hsqldb.inc_backup=true;hsqldb.defrag_limit=2;hsqldb.nio_data_file=false db.driver=org.hsqldb.jdbcDriver db.username=sa db.password= db.tableprefix= These properties provide the configuration details required for […]

Share this article on
< Previous Next >