cancel
Showing results for 
Search instead for 
Did you mean: 

Can I set @cds.persistence.exists false for sqlite i.e. for development

NitinMahajan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I am trying use CAP to create Odata services on an existing database in HANA cloud. Since the tables exist my model has been created with annotation @cds.persistence.exists on entities.

However, since I want to test the solution in development (via sqlite), is it possible to generate the tables in SQLite only i.e. in development? Otherwise I am not able to test the application in development and have to deploy it always.

Regards,

Nitin

View Entire Topic
NitinMahajan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Lothar,

How do you tell the service i.e. service.cds which path to pick the model from? /db/sqlite or /db/hana

It is not clear from the samples as well.

Regards,

Nitin