سؤال

I am using OptaPlanner to create a scheduling plan for something instead of taking input from XML, I am trying to import the data from the dB directly, but it is still searching for the XML input, what might be the reason and how can it be corrected

هل كانت مفيدة؟

المحلول

Learn JPA-Hibernate, remove the XStream annotations from the domain objects, add JPA annotations on the domain objects and replace the SolutionDao class with something that uses EntityManager instead of XStream.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top