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

Overview of items.xml file

Items.xml file contains the type definition in hybris. We can define the new item types, extend the existing item types in the items.xml file Items.xml file is located in the resources directory of an extension as below Items.xml file names are prefixed with respective extension name. Example: In core extension, it is available as core-items.xml […]

Share this article on
< Previous Next >