cdmckinley / splatspot-interface-java

A web interface for my database of "Splatoon 3" YouTube videos. Written in Java.
0 stars 0 forks source link

Lazy error trouble-shooting #2

Closed pawaitemadisoncollege closed 2 years ago

pawaitemadisoncollege commented 2 years ago

Hi Craig, I am trying to reproduce the lazy initialization error that you referred to in Slack.

A couple questions:

  1. Was this happening when running the unit tests (versus the deployed app)?
  2. Is the cleanup.sql file in GitHub correct? The version I see does not insert any records into shared_media, and I would expect some records to be on that table for unit testing purposes. https://github.com/cdmckinley/splatspot-interface-java/blob/08b694c31fe795bcced1cbc1fb88c9d9b9ee1e19/src/test/resources/cleanup.sql#L1-L4
cdmckinley commented 2 years ago
cdmckinley commented 2 years ago

I had redundant xml when I should have set it to use class annotations. The problem has been solved.

pawaitemadisoncollege commented 2 years ago

That's some great detective work @cdmckinley!