dao
ORM and DAO - design question
I\'m currently working on the project where this discussion came and I wanted to ask others what do they think about this.[详细]
2023-03-26 17:49 分类:问答Hibernate Generic DAO - Testing whether the SQL generated is correct
I have a DAO infrastructure as follows: StoreDao, CouponDao, PersonDao. All these extend from a GenericDao which has the bulk of the functionality(using Java Generics).[详细]
2023-03-26 05:41 分类:问答How to insert "Entire" DAO recordset into a table with VBA
I have a DAO recordset that gets created fine and I can transfer the records from the set to a table, this is done row by row and works well but I am transfering a large amount of data at once so this[详细]
2023-03-23 18:40 分类:问答how will container start ApplicationContext.xml file
I already have an application implemented in Struts. I am trying to move it to Spring so I am doing everything step by step. First plan is to implement IOC (DI). now I got my DAOs fixed, i got my appl[详细]
2023-03-22 07:22 分类:问答implementing a dao class properly to manage transactions
I am working on a java web application that calls database backend through hibernate.I use servlets,jsp and tomcat for test/deployment.Most books on java-ee suggested using Dao classes for database ca[详细]
2023-03-22 04:07 分类:问答throwing meaningful exceptions from hibernate DAO implementation
In my web application(jsp+hibernate+hsqldb on tomcat) code, I am using couple of Dao implementations.The base class Dao implementation contains all the session open,close logic.A number of domain spec[详细]
2023-03-21 17:41 分类:问答relationship between DAO and hibernate
I tried to google the answer, but I am still puzzled about their relationship. I speculate Hibernate is a kind of DAO.[详细]
2023-03-21 06:02 分类:问答What's the point of having complex entity classes (in the Hibernate sense)
Since the classic OOP model is broken anyway, despite all the goodies of ORM, why do I need to annotate the following two example attributes in my entity class:[详细]
2023-03-20 15:00 分类:问答Export From Access to Excel
I want to export some data in one recordset in Access to Excel. I know the DoCmd.TransferSpreadsheet command but it works only with stored queries, and in my case it\'s a runtime-filtered record开发者[详细]
2023-03-19 17:20 分类:问答How do we determine an object's responsibility in OOP?
I just started learning OOP and I\'m finding it really hard to decide where functionality belongs. Let\'s use a down vote in SO for our example:[详细]
2023-03-19 07:42 分类:问答