Find some important knowledge points and answers for Spring and hibernate!

Updated on educate 2024-04-01
9 answers
  1. Anonymous users2024-02-07

    1 Learn to use.

    2 Ask why.

  2. Anonymous users2024-02-06

    Upstairs ggs, don't mislead people. Also ssh....H stands for HibernateAnd now the companies I've been to rarely use SSH anymore. Mostly ssh2

    Same with me. At first, I didn't feel anything after learning it twice at first.

    1.Find out what the two of them do.

    Benefits of using it:

    You can search for this or have it in books. And they don't belong to the same concept. There will be no problem distinguishing between them. You've had the foundation.

    2.Go and do something simple with integrations. The main thing is to be able to integrate without errors, I think you will be a lot clearer. If you haven't done it. Then it's okay to find some simple examples. There are many on books or online.

    It's all relatively basic. And you've learned. I believe you only need to do it once and you should be able to understand.

  3. Anonymous users2024-02-05

    It's all about the merits.

    spring

    Advantages: Reduces "new", saves memory data, and destroys the source.

    Disadvantages: I am not familiar with spring, and the disadvantages are not easy to say. I feel that the configuration file has to be written a lot, which is very troublesome (maybe my level problem).

    hibernate

    Advantages: The direct operation is on the object, and the operation on the database is done by hibernate.

  4. Anonymous users2024-02-04

    You capitalize the first letter of the word datasource, and spring doesn't recognize it.

  5. Anonymous users2024-02-03

    Hibernate is a framework for a data persistence layer that manages how to access and manipulate data in a database.

    Spring is a more powerful framework that provides integration for J2EE application development in terms of simplicity, testability, and loose coupling, as well as support for section-oriented programming.

    To use a simple analogy, Hibernate is the warehouse manager of the warehouse, who is responsible for the storage management of goods.

    Spring is the core leader of the management and is responsible for coordinating the scheduling to ensure the good functioning of the enterprise.

  6. Anonymous users2024-02-02

    In a nutshell, Spring provides a number of services that are often used, such as AOP to manage things, the core is IOC control inversion, it can be integrated with many open source frameworks, Spring is mainly used for the business logic layer, and allows the presentation and persistence layers to work better together.

    Hibernate is an ORM framework that is an object-relational model, which can transform the object model into a relational model, which used to be relation-oriented when designing databases, through Hibernate you can design databases with object-oriented ideas, so that you can operate databases more conveniently, I think Hibernate is a great ORM framework.

    Spring can be integrated with Hibernate, so that sessions can be managed by Spring, and Spring's AOP can be used to manage things.

  7. Anonymous users2024-02-01

    First of all, it is recommended that when you define the bean, use the first letter of the id attribute value in lowercase, that is, change NewUserDAO to NewUserDAO

    Then you check that your package path is correct. You go to your project Wentong ruler folder, find the Tanxiao web directory, and then look at the directory structure under the web-inf classes directory to see if there is a dao folder, and whether there is a document bureau letter height under the folder.

    If not, then the mistake is certain.

  8. Anonymous users2024-01-31

    Spring and Hibernate integration pay attention to some conflicts, it is not difficult, go to the official website to see the manual.

  9. Anonymous users2024-01-30

    You can't do the computer test questions of the North Bird, so you can go home and farm.

Related questions
10 answers2024-04-01

The guy upstairs said the concept. I'll say more.

IOC is a container, and everything that is created is created in a container. You can think of this thing as something like a factory model. >>>More

8 answers2024-04-01

Solution: Let x + y = 3, let x = 3cos, y = 3sin let k = y (x+2). >>>More

3 answers2024-04-01

Hello, landlord, the lyrics of the friend downstairs are right, but there is a small mistake, that is, the first one is i want to see you girl,The beginning of the second paragraph should be i want to love you girl.,Downstairs due to negligence to write a mistake.,I'll correct it.,Forget the landlord.,Thank you.。

12 answers2024-04-01

The prompt lit up. What's the problem?

a(sum(d2:h2)-max(d2:h2)-min(d2:h2))/3 >>>More

10 answers2024-04-01

Use your phone to control the next League of Legends control inside.