I've a spring boot project, and I'm using hibernate to map my entities to DB, However now I have a new requirement: I need to be able to dynamically create tables in DB, without any mapping (so far).
Does anyone know about some framework, to help me to deal with this: -I want to execute SQL or similar(ddl) to create my tables -I need to deal with connection management
I've been told about spring-data, but I need some opinion about this.
An example: Imagine I have a service available to client, for example:
class DBHACKService {
void executeSQL(String ddl).
}
The client invoke this like :
new DBHackService.executeSQL ("create table mytable (name varchar)");
In this method I can do some manipulation to the sql. The question is: which is the best way to send it to DBEngine.
Thanks again
Thanks in advance. rui