I would like to find out do we declare a class as persistent only when it represents the data in the database. In other words when we create a persistent object then we can store the state of the object into the database.

Recommended Answers

All 2 Replies

check out JPA

Also from my understanding the class have to be persistent to enable paging concept.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.