Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top