Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hard Code Magic Cookie?

 
Chih-Wei Lee
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have taken a look several post on JavaRanch about magic cookie.
According to these discussion, the magic cookie is related to assignment version, also database schema version.
Can I say "Magic cookie is database schema number"?

So if I would like my application only to read a specific database schema,
I hard code the magic cookie in my code.

Is this a good way to deal with magic cookie?

Thanks
 
Alexander Duenisch
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You either harcode it or you include it in your suncertify.properties configuration file.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic