when i run my hibernate tools it reads from the db and create java classes for each tables, and a java class for composite primary keys. that's great.
the problem is this line
@Table(name="tst_feature"
,catalog="tstdb"
)
while the table name is required, the "catalog" attribute is not required. sometimes i want to use "tstdb", sometimes i want to use "tstdev"
i thought which db was chosen depends on the jdbc connection url but when i change the jdbc url to point to "tstdev", it is still using "tstdb"
so, i know what must be done, just don't know how its is done my options are
OR
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With