hibernate connection tomcat

Posted by willson albert on Stack Overflow See other posts from Stack Overflow or by willson albert
Published on 2012-03-11T22:49:52Z Indexed on 2012/03/25 5:30 UTC
Read the original article Hit count: 197

Filed under:
|
|

I was working in a web site (production) in Tomcat 7, so now I created a copy of this website and change the hibernate.cfg.xml to work with another database ( testing ).

<property name="hibernate.connection.url">jdbc:mysql://127.0.0.1:3306/test</property>
<property name="hibernate.connection.username">fake</property>
<property name="hibernate.connection.password">fake</property>

However, when I open the new new site, everything is ok, but, is still working with the production database even when I changed the connection string.

Anybody knows if I need to change another thing?. I missing something?. I am quite new in tomcat.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about java

Related posts about hibernate