The following are methods I currently have in an Abstract DAO class. If there are concurrent calls, are they safe as they are or should synchronization be used? I know synchronization should be used i
I\'m using the Spring MVC to build a thin layer on top of a SQL Server database. When I began testing, it seems that it doesn\'t handle stress very well :). I\'m using Apache Commons DBCP to handle co
I\'m a Spring newby. I use the @Transactional annotation for my dao methods: @Transactional public Person getById(long id) {
I have created a table in MSSQL having following structure - **Table Name - TestTable** id (int) (Primary key)
I\'m looking at a couple of designs for DAO interfaces. One has a single update() method, whi开发者_运维技巧le the other has separate create() and update() methods.
I\'m not interested in Spring/JPA etc. I like straight up JDBC/ODBC. I was wondering what are the good (actually production ready) tools to enable taking a database schema and generating objects/daos
How shou开发者_如何学Gold one go about filtering a series of domain objects according to user-defined criteria? Should the filtering methods be in the model or should they be in the DAO?If you want to
The usual advice is to close JDBC ressources once they\'re no longer needed. This could be done in a catch and finally. However, what if a DAO method only manipulates one domain object and an operatio
Using DAO out of VB6: db.OpenRecordSet(\"Table1\", dbOpenTable, 0, dbPessimistic) If the third argument is set to 0, as in the above, what is its effect?0 is not a listed value for this argument in
I\'m using VB6 and trying to create a DAO recordset from an array of data. I want something like this but I\'ve hit all kinds of problems