dao
How can I improve my DAO? - Java EE
I want to access my applicant database that\'s why I created a DAO class for it. I think I have lots of code smells because I keep on repeating some code. So what can I do to make my code simpler in[详细]
2023-03-12 07:12 分类:问答Singleton Data Access Object (Dao) & SQL Helper Instance, Is here any Performance drawback?
I need comments from Experts. I write my own SQL Helper Class to Communicate with DB. Why I use it as because I try to[详细]
2023-03-12 05:18 分类:问答Force CREATE PROC when table in the SQL does not exist yet (VB.NET)
I am converting a lot of projects from VB6 to VB.NET. Many of these projects use the DAO method CreateQueryDef, something ADO.NET does not. I know there is a way to replicate this method in ADOX using[详细]
2023-03-10 19:18 分类:问答Could not execute JDBC batch update
I have a problem with a entity class. When I run my app with hibernate.hbm2ddl.auto = create, then it create all the other entity tables but not this on. Why is that? And when I create the table by my[详细]
2023-03-10 09:53 分类:问答spring hibernate - dao.save(object) return null pointer exception
can anyone help me with the following开发者_如何学C thread? http://forum.springsource.org/showthread.php?110248-dao.save%28object%29-java.lang.NullPointerException&p=365538#post365538[详细]
2023-03-10 06:31 分类:问答Is there a proper way to instantiate strongly typed objects in DAOs?
I\'m trying to determine which is the right way to code a DAO for a class that contains a few primitive data types, and three strongly typed objects which have DAOs of their own.[详细]
2023-03-09 15:01 分类:问答instanceof vs isAnX()
In java i am writing some DTO objects, which all inherit from AllocationDTO. A list of these objects are then passed into a DAO object for saving to the database.[详细]
2023-03-06 20:07 分类:问答Hibernate DAO doesn't insert row into database MyEclipse
I\'m trying to insert a new object into my database. I followed a step-by-step tutorial but it seems it doesn\'t work for me. In the tutorialthere was the following line :[详细]
2023-03-06 15:59 分类:问答Merging a List of domain objects
I want to change a flag on a series of objects. What is the standard DAO practise for: Changing a property of 开发者_StackOverflowall objects represented in a table?[详细]
2023-03-05 22:37 分类:问答Setting the default value of an Access 97 text field to an empty string
Using DAO and VB6 I try to set the default value of an access 97 text field to an empty string (rather than Null) thus:[详细]
2023-03-05 18:24 分类:问答