Closed barbeau closed 7 years ago
It looks like this is related to updating the schema in #77. #77 adds new columns as well as in hibernate.cfg.xml
it adds the following line:
<property name="hibernate.hbm2ddl.auto">update</property>
This makes sure the database schema matches the model classes. However, the master branch doesn't have this, so it drifted out of sync with the model classes when I switched branches. Going forward as long as we keep the above XML config line this issue should resolve itself and the model classes will always match the schema.
Summary:
On my laptop, I'm getting the following error when I try to do
mvn clean install -U
on the master branch and https://github.com/CUTR-at-USF/gtfs-realtime-validator/pull/77 in the middle of the tests:If I try to run the application I get the same error message, and it doesn't log data.
If I do a fresh clone of the repo, everything works fine.
Steps to reproduce:
Not sure - I'm guessing it has something to do with my local database files that were generated via previous builds (because starting from scratch works fine), so I'm attaching them. Then just run
mvn install -U
.Expected behavior:
No errors should be thrown
Observed behavior:
Get above stack trace in the middle of tests.
Platform: Windows 10 Home 1607 with JDK 1.8.0_121 64bit
dbfiles.zip