0

I am trying to access one property which is basically a DB name from a property file in the hbm file.

Can this be achieved:

<hibernate-mapping>
    <class name="com.spring.sample.*domain.User" table="${dbname}..USERS"> 
.....
</hibernate-mapping>

Property file is like: dbname=Master

  • You might get a faster response if you tag your question with the technology you're using. It's quite ambiguous right now. – hayesti Aug 28 '15 at 11:47
  • sorry, basically it wiped off the example config I put it. I will tag it with it's technology. Thanks hayesti – ANewDeveloper Aug 28 '15 at 11:48

0 Answers0