Slower than JDBC: Hibernate is slower than pure JDBC as it generates lot of SQL statements in runtime.
Lots of API to learn: A lot of effort is required to learn Hibernate. So, not very easy to learn hibernate easily.
Not suitable for Batch processing: It advisable to use pure JDBC for batch processing ,which takes less time for processing than hibernate.
Debugging: Sometimes debugging and performance tuning becomes difficult.
Not suitable for Small projects : For small projects having few tables it is useless to work with hibernate.
Does not allow multiple inserts : Hibernate does not allow some type of queries which are supported by JDBC.
For example: It does not allow to insert multiple objects (persistent data) to same table using single query.
Developer has to write separate query to insert each object into database.
Generates complex quires with many joins : For complex data, mapping from Object-to-tables and vise versa reduces performance and increases time of conversion.
Disadvantages of Hibernate
Next Topic
Hibernate Interview Questions
Subscribe to:
Post Comments (Atom)
Featured Post
H1B Visa Stamping at US Consulate
H1B Visa Stamping at US Consulate If you are outside of the US, you need to apply for US Visa at a US Consulate or a US Embassy and get H1...
-
Ques 1 : Which declaration of the main method below would allow a class to be started as a standalone program. (A) public static int main(c...
-
1. Two Sum Two Sum Solution 2. LRU Cache LRU Cache Solution 3. Number Of Islands 4. Longest Palindromic Substring 5. Lowest...
-
basics Linux fundamentals like system calls , strace , linux mange memory, shared memory, kernel using, boot process, DNS resolving ( how t...
No comments:
Post a Comment