The winter vacation of my junior high school started. On October 16, I got home. Today, I went to bed on the 24th. I spent the nights watching TV and playing idol dramas, ah, the TV series is named "do not disturb". What is it? Now I have finished watching it. I feel like this story is so bloody. Sorry, I spoke about this topic in CSDN, yes, I haven't looked at my CSDN account for a long time. It seems that I wrote a few blogs when I was in my sophomore year. It's a tough child, so I couldn't hold on to it. Well, let's get to the point below.
From the 19th to the 24th of today, I have been licking my finger for five days, right? Every night, I am bored with the books I brought back. I don't want to read them anymore. Why should I bring them back? Think about it. From today on, I should still study hibernate at home. Teacher Feng taught me that hibernate didn't talk too much about things. In 64 hours, I learned struts2 + hibernate + spring (SSH framework), but I didn't know much about spring. It seems that I did not know about spring, and I got 64 lessons, after the final exam, you have to learn it on your own. In public, everything you learn will be done by everyone.
Let's talk about my simple understanding of hibernate. (first of all, this is a beginner's personal opinion. I hope I can correct it.) To put it simply, hibernate is an encapsulation of operations for addition, deletion, modification, and query of various types of databases. databases are nothing more than data storage, and the memory of computers/servers is infinitely large, so we don't need a database, right? But this is not realistic. hibernate is a popular Object Relational ing (ORM), such as ibitas. At school, I only learned about hibernate. In the past, we used JDBC to connect to and operate databases, but you think there are too many database types, each type of database, if you write data using JDBC, java code is similar, but can database statements be the same? It must be different. How many things are a little different? Otherwise, we need to divide the database into mysql, sqlserver, and many other types... However, hindid provides us with convenience. hibernate can automatically generate operation statements for different databases. However, you must configure the hibernate-related configurations of your project, for specific configuration, please refer to my next blog...
OK. Now, let's take a look at the basic situation of hibernate and learn more about it later. I will modify and modify it later.