Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Temporal Types and transient state  RSS feed

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Authors,

Chapter 4 talks about Temporal Types and transient state. Can you please explain more ?

Thanks
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess Temporal Types are about the Temporal annotation used for persistent fields of type java.util.Date and java.util.Calendar.

I also guess that the Transient State is about the Transient annotation used for non persistent fields.

Lots of annotations (38)...
The new SCBCD will be a pain
 
Mike Keith
author
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Right, the chapter explains how the java.util types listed above, as well as the java.sql types (Date, Time and Timestamp) can be mapped.

The transient section discusses the difference between "transient" and @Transient.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!