I am trying to make Doctrine generate SQL from a set of models that I created earlier with a YAML schema. Using the code below which comes from the manual the output should be a set of queries.
Given JPA annotated Entities, is it possible to generate (i.e. before runtime) the list of queries that will be performed by Hibernate for CRUD operations (performed against EntityManager) ?
I am soon going to be writing a component that takes metadata and generates dynamic SQL from it.Mostly we\'re talking SELECT, INSERT, UPDATE, DELETE stuff but I开发者_开发技巧 suppose it\'s possible t