| |

VerySource

 Forgot password?
 Register
Search
View: 853|Reply: 6

Hibernate must have a default constructor. What is the use of this DD?

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-3 22:10:01
| Show all posts |Read mode
Like the title, 3x!
Reply

Use magic Report

0

Threads

39

Posts

23.00

Credits

Newbie

Rank: 1

Credits
23.00

 China

Post time: 2020-1-4 12:00:02
| Show all posts
Do you mean PO?
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-8-11 23:45:01
| Show all posts
Is tooth
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-12 06:00:01
| Show all posts
Because hibernate uses the reflection mechanism to call the set and get methods of po, a parameterless constructor must be provided
Reply

Use magic Report

0

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-8-12 08:00:01
| Show all posts
Used when creating an instance.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-12 09:00:01
| Show all posts
Constructor for creating objects
Reply

Use magic Report

0

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-8-12 10:00:01
| Show all posts
Asking this kind of question shows that you do not understand the principle of hibernate at all
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list