I have a JSF 2.0/Servlet 3.0 Web application using hibernate with a connection pooled data source on glassfish 3.
I have a开发者_开发知识库 (DAL) Data Access Layer (but this question is relevant for DAOs as well) which is communicating with a restful web service in android (which is less relevant other than the f
I\'m currently in the process of creatin开发者_运维技巧g a data access layer for an application. This application will initially connect to an Oracle database but will later also connect to a DB2 data
currently I\'m trying to implement a typed generic DAO. Ido not even get to compile anything, since NetBeans complains about UserDAOHibernate
I\'m using Spring + Hibernate + H2. I do database operations in my integration tests (by calling a service class). I want Spring to rollback the changes after each test method, butI can\'t get it to w
I\'ve started learning GWT about a week ago and here\'s the question I can\'t answer for sure. Here\'s the server-side:
I have one \"big\" TOracleDataSet which I can\'t change \'cause it\'s using in many different parts of huge project. I want to add just one record to this dataset for using in another grid. The solve
I have a application set up with Spring and Struts. I am trying to display an image in the jsp using the servlet. In the servlet i need to fetch the image to be displayed from the db for which dao is
I was trying to write a user authentication system in Java. So I wrote some DAO class. First I did write a class named Persistence which is abstract. It is responsible for holding some common attribut
In my DAO classes I have a reference to an EntityManager. I want to make the acces to the EntityManager thread-safe by using ThreadLocal.