Hi there!
I have intention to use a test database schema to run my unit tests against, rather than against the production one. But the problem is I use JPA Annotation approach, so generation tool includes database name into all my beans:
Code:
/**
* DealerGroup generated by hbm2java
*/
@Entity
@Table(name="DealerGroup"
,schema="dbo"
,catalog="NewOrderAgent"
, uniqueConstraints = { }
)
My question is: is this
,catalog="NewOrderAgent" important for Hibernate, or it's optional? If it's optional, how can I disable its generation?
Thanks!