Author | Message |
---|---|
aligh1979
Posts: 121
|
Posted 13:59 Oct 15, 2011 |
why the database info (user and pass) in two different maven projects (csns2 and hibernate ) are stored in two different files , Build.properties and persistence.xml respectively ? |
cysun
Posts: 2935
|
Posted 18:19 Oct 15, 2011 |
Isn't this the exact question you asked and I answered in class? Before I answer it again, you should understand what Maven resource filtering does and then read CSNS2's pom.xml and see how build.properties is used. |
aligh1979
Posts: 121
|
Posted 19:07 Oct 15, 2011 |
Yes , I remembered , thank you |