Which of the following annotations defines a class as an entity?

12. Which of the following annotations defines a class as an entity?

  1. @table
  2. @entitymanager
  3. @entityfactory
  4. @entity

Answer: D) @entity

Explanation:

@entity annotation is used to define a class as an entity.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.