Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is open session in view a good practice architecture?

 
Fabio Medeiros Faria
Greenhorn
Posts: 10
Java Mac Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This approach avaible with spring framework is commonly used in many applications.

Once I was using this resource, but when I set a value in an attibute of the object, this was changed of datase too, but i didn't call the layer persistence.

I think this somewhat

um tanto quanto "dangerous"... Do you think this is a good practice to use in applications?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic