Hi,
I would like to know how to set the name of database schema in my EJB3 entities from file properties ?
I've seen schema propertie of @Table annotations but this has to be constant type.
If you have any idea ...
Thanks, regards.
Add in your persistence.xml:
<property name="hibernate.default_schema value="MY_SCHEMA"/>