Hi @Dalia_Daud,
Greetings!
Yes I have solved this problem. I presume you also must be using spring jpa and hibernate. In that case, you may have to add a property in your application properties file.
spring.jpa.properties.hibernate.id.db_structure_naming_strategy=legacy
You can read more about this property here https://www.baeldung.com/hibernate-sequence-naming-strategies
Adding this property helped me to resolve my issue. I hope this will solve your issue too! Best of luck! Thanks!