Closed SaherAlSous closed 1 year ago
anyone?
Is there a way to create the data tables using beans? Other than @Table annotations I mean
Facing the same problem 🙄🫤
it happened the same with JDBC tables, annotations didn't create any db table... but in jdbc we can create it using schema.sql
.
one guy advised me to use migration tool to create the tables with it. will study it today and post the results if it works.
@Hsain-98 listen...
I solved it by removing the @Data
annotation of lombok... try that and tell me what happens... i just kept the @Table
annotation and it is working now...
hello... I'm using cassandra for spring in kotlin project. and i'm creating the tables using the
@Table
annotation like thisand i'm loading the initial value of the tables in the
@Configuration
class like this:inside the
application.properties
file inside theResources
i made the configuration like thisI keep getting this error
I'm using these dependencies
Whats wrong in my implementation, why can't I create the tables? just to note that when i comment the code related to interacting with the data tables, the server works fine. until I do any action related to cassandra tables.
any solution?