Fix an issue that ClassUtils.isAssignable only works if classArray and toClassArray have the same length, but it doesn't have the same length.
- Fix a potential memory leak issue by using ThreadLocal instead of static Map.
- Fix request IDs in BatchResponse, ApacheDS DSMLv2Engine doesn't return it in BatchRequest.
- Fix to use EntityManager instead of Hibernate SessionFactory in PDTiStatisticsDAO class. So that DAO class doesn't depend on Hibernate.
- Fix not to use ClassPathXmlApplicationContext to load Spring configurations. Use @Component and @Autowired instead.
- Use @RunWith annotation to load the Spring configuration file in JUnit test case class.
- Use derby for JUnit test cases.
- Move Spring configuration files from src/main/resources to src/test/resources, and remove configuration files not used.
Add derby.log file to be ignored.
Fix an issue that base64 encoded values are encoded again in DSMLv2Engine.
Add MySQL JDBC driver.
- Set webAppRooKey context-param.
- Add log4jConfigLocation context-param and add Log4jConfigListener. Also move log4j.xml to WEB-INF directory.
Remove hibernate.cfg.xml and import.sql in pdti-server. It's already available in pdti-dao module.
- Move configuration properties files to src/main/resources/META-INF/spring directory.
- Support loading configuration properties files at classpath:META-INF/spring/*.properties as default configuration and [Application Server Root]/pdti-server/*.properties files as custom configurations.
- Fix to use EntityManagerFactory bean instead of Hibernate SessionFactory.
- Support DB connection pool.
- Fix to use configurations in properties files to specify LDAP server information (type/host/port/base DN)
- Change method scope from protected to public for easy of use with Spring configurations.
- Fix to use @Value annotation to get configuration values in properties files.
- Fix to use @Autowired annotation to get PdtiAuditLog object instead of using PdtiAuditLogImpl.getInstance() method.
- Fix a deployment error (IllegalAnnotationExceptions gov.hhs.onc.pdti.service.DirectoryService is an interface, and JAXB can't handle interfaces) on Glassfish3 by specifying endpointInterface attribute at @WebService annotations.