Relative Content

Tag Archive for static-access

Static DataTable or DataSet in a class – bad idea?

I have several instances of a class. Each instance stores data in a common database. So, I thought “I’ll make the DataTable table field static, that way every instance can just add/modify rows to its own table field, but all the data will actually be in one place!”

Issues about static injection in Spring?

I use spring-boot with spring xml in my project.
I wrapper the DAOs in a DataAccessService class to serve as a DB service layer, both the service and the DAOs are injected in spring xml and used by Autowired.