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: User java persistance API, it is the best and can work on any ORM model. ...
How to call stored procedure in mysql through hibernate?
Latest Answer: As per sql-->create a procedure in your sql by using the following code.create or replace procedure first-procedure(x in number,y out number)beginy:=x*x;end; write your sql connection code in hibernate configuration file.In your hibernate client ...
Latest Answer: Ibatis is something in between Hibernate and JDBC.Hibernate provides a way to represent database rows as objects so that developers can easily call create update delete methods on them where Ibatis helps developers in mapping SQL queries in the form of ...
Anybody tell me please, where exactly Hibernate is used..tell me about the mapping and .xml file in Hibernate
Latest Answer: To make the application developemnt more productive. its saves development time and also mainly it deals with Objects(POJO) . and .xml file is nuthing but mapping between database column and POJO variable. you can easily switch the database like MySql ...
what is lazy initialisation in hibernate
Latest Answer: by default lazy = true so that parent table wont fetch the fields from child table. so in that case u have to wite explicitly lazy = falseThen we can fetch the fields from the psrent as well as child fileds ...
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: In my opinion in case of Entity Beans our bean only work under contanier. means you cant reuse those object outside container. There is no concept of Detached Objects. But in case of hibernate we have detached object concepts. ...
Latest Answer: Merge:Suppose if we take two words like.. one is milk, two is van if we merge this two words it forms milkvan.Update:Means, if we have know something about JAVA language, there are soo many new things are being added to the java language, if we know all ...
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