Can you please tell me how to fetch all schema available in my database?
You can use the JPA metamodel API.