I am posting my findings and a method to achieve this,
First of all we need to keep in mind three files for this.
a. common-shared.properties
b. development-shared.properties
c. development.properties
Step1: start the app, let the app create the database and load all the data.
Step2: Stop the database server.
Step3: Stop the application server.
Step4: Changes in the properties file mentioned above.
a. set following values.
blPU.hibernate.hbm2ddl.auto=none
blCMSStorage.hibernate.hbm2ddl.auto=none
blSecurePU.hibernate.hbm2ddl.auto=none
and comment out the following line :
blPU.hibernate.hbm2ddl.import_files=/config/bc/sql/load_admin_permissions.sql,\
/config/bc/sql/load_admin_roles.sql,\
/config/bc/sql/load_admin_menu.sql,\
/config/bc/sql/load_menu_admin_security.sql,\
/sql/load_admin_users.sql,\
/sql/load_code_tables.sql,\
/sql/load_i18n_countries.sql,\
/sql/load_table_sequences.sql,\
/sql/load_content_structure.sql,\
/sql/load_catalog_data.sql,\
/sql/load_content_data.sql,\
/sql/load_content_structure_i18n.sql,\
/sql/load_content_data_i18n.sql,\
/sql/load_catalog_i18n_data_FR.sql,\
/sql/load_catalog_i18n_data_ES.sql,\
/sql/load_sitemap_data.sql,\
/sql/load_menu_data.sql
b. Set the following properties to "none"
blPU.hibernate.hbm2ddl.auto=none
blCMSStorage.hibernate.hbm2ddl.auto=none
blSecurePU.hibernate.hbm2ddl.auto=none
c. Set the only property in development.properties to "none"
blPU.hibernate.hbm2ddl.auto=none
Step 5: Restart the DB server.
Step 6: Redeploy the application.
and Boom .... you have done it.. :) :) :) :)