Skip to Content
author's profile photo Former Member
Former Member

Access database during the Hybris server startup

Is there a possibility in hybris to fetch data during the server startup ?

Add a comment
10|10000 characters needed characters exceeded

  • Former Member

    It depends on what database you are using e.g. if you are using out-of-the-box HSQLDB and default configuration, hybris server acquires lock on HSQLDB and won't allow you to connect to it using some other client program. In case of other DBs (e.g. MySQL, Oracle, MS SQL Server etc.), you can connect the DB with a client program/application (e.g. DBVisualizer) and access database.

  • Former Member Former Member

    We are not using HSQL. During the server startup, as the beans are instantiating, a custom program to query the database, fails with the flexi search service, throwing a Null Pointer in the Connection class.

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.