I am currently working on extending DSpace and need guidance on creating a new table while following DSpace’s best practices. Specifically, I am looking for the correct approach to:
- Defining a new model that represents the new database table.
- Creating a corresponding DAO that follows DSpace’s repository pattern.
- Integrating the new DAO with a service layer for data management.
- Ensuring that the new table is correctly created in the database, following the standard migration approach.
I would appreciate it if you could provide insights on:
- The preferred method for defining and registering a new DAO and model within the DSpace framework.
- How to properly configure the Spring-based repository layer to interact with the database.
- The correct way to update the database schema, ensuring that the new table is recognized during the migration process.
If there are any existing examples, documentation references, or best practices for this process, I would be grateful if you could share them.
Thank you in advance for your time and support.