Can anybody tell me which persistent technology can be used instead of Hibernate which is as compatible as Hibernate (not JDBC nor EJB) any parallel technology?
Latest Answer: There is a alternate option which I have used in past. It is little different
though. This is not a ORM tool, but it greatly helps in Database persistence.
This is code generation utility which generates all the data access layer code.
This tool ...
How to call stored procedure in mysql through hibernate?
Latest Answer: In order to call a stored procedure using the hibernate , define a named query for a persistent class mapping document. Then call the named query from your java application .Example is given in the Hibernate Reference documentation as follows:-First create ...
Latest Answer: These are the few questions that continuously get asked in most of forums.
What’s really difference between two and really more importantly when should
I use one over the other. Its pretty interesting question because there are
major differences ...
Anybody tell me please, where exactly Hibernate is used..tell me about the mapping and .xml file in Hibernate
Latest Answer: I think the answers above are a sufficient reason to understand, why hibernate? But don't get confused, when we are drawing comparisions between EJBs and Hibernate. They are not actually parallel technologies or competitors. In fact, they work in ...
what is lazy initialisation in hibernate
Latest Answer: Lazy loading means that any foreign key references that you have in your table will be loaded only when referred to by the application. Eager loading means everything will be loaded at once. ...
How to invoke a stored procedure in Hibernate and pass in a parameter?I have { ? = call myservice.TEST_PROC3( ? ) }While I can get stored proc output if there is no input to TEST_PROC3, e.g. call
Latest Answer: You can declare it as Named queiries in one of your mapping files and give unique name.Call it in your code. Sample code is below.SQLQuery sq = (SQLQuery) session.getNamedQuery("findSearchResultsListSP");sq.addEntity("documentTypeCode", ...
What J2EE design problems does Hibernate solves apart from Data Base in-dependency and being an ORM tool?
Latest Answer: Hibernate does not require a Application Server to be deployed. Easy plugin into any available project or module when compared to EJBHibenate involves less coding and easy to manage code when compared to JDBC. ...
Latest Answer: Use update() if you are sure that the session does not contain an already persistent instance with the same identifier, and merge() if you want to merge your modifications at any time without consideration of the state of the session. In other words, ...
Latest Answer: Proxies are created dynamically by subclassing your object at runtime. The subclass has all the methods of the parent, and when any of the methods are accessed, the proxy loads up the real object from the DB and calls the method for you. Very nice in ...
View page [1] 2 3 4 Next >>

Go Top