S

Satya • 3.38K Points
Extraordinary

Q. Which annotation marks a class as a Hibernate entity?

  • (A) @Table
  • (B) @Entity
  • (C) @Column
  • (D) @Bean
  • Correct Answer - Option(B)
  • Views: 24
  • Filed under category Hibernate
  • Hashtags:

Explanation by: Satya

@Entity indicates that the class is mapped to a database table.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.