Q1: What is the difference between Hibernate and EJB 2.1? Q2: Which one, among EJB 2.1 and Hibernate, is better?Explain with reason.Q3: When to use EJB 2.1 and when to use Hibernate? Explain with scenarios.
I am using hibernate.What is the use In Data(POJO) class primary key is sending as an argument with constructor?
Latest Answer: Advantages OF Hibernate: - First of all will provide business entity form of representation of DB tables. - Hibernate provides an interface to develop our application code which is not specific to any DB. - It reduces the complexity of transforming out ...
I am new to Hibernate.So can any one tell me how to develop a application using Hibernate in the Myeclipse .and also please send me pdf to suddu026@gmail.com.Regards,Sudarshan.
Latest Answer: Ccreate primary key? Not sure but you can defined it in the hbm file by specifying the field with the primary column in the db. ...
Latest Answer: Hibernate is based on object oriented concept like java. so it has better compatibility with java than sql.In Jdbc we have to mannualy handle exception and every time we need to open/cose the connection,create/close the statement , resultset whatever ...
Latest Answer: A component is an object saved as a value, not as a reference A component can be saved directly without needing to declare interfaces or identifier properties Required to define an empty constructor Shared references not supported ...
Latest Answer: Basically we need Hibernate like tools for the purpose of developing the application in short period of time. The product like Hibernate used for the productivity. When large amount of data have to handle that time instead of using JDBC we used Hibernate. ...
How do you handle the situation where persistence class attribute name is one of the reserved keyword in database; e.g. user ? Will this cause any issue while hibenrate executes SQL statements behind the scene?
Latest Answer: A component is a contained object that is persisted as a value type ,not an entity reference.eg)public class person{private Name name;public Name getName(){ return name;}public void setName(Name name){this.name=name;}.....}public class Name{chat initial;String ...
View page << Previous 1 2 [3] 4 Next >>

Go Top