you are right, unexpected behavior, it even writes back some value which I set to null directly, of course this is for some testing app.
Taha Hafeez wrote > Hi Angelo > > Yes this is not related to Tapestry. Hibernate caches the results for > efficiency(there are different levels of caches involved) and so what you > do directly with the database may not be updated in the cache for a while > depending on the cache configuration. > > My advice would be not to update directly when using hibernate as it can > result in unexpected behavior. > > regards > Taha > > On Nov 5, 2012, at 2:01 PM, angelochen wrote: > >> Hi, >> >> a T5 app uses tapestry-hibernate to display some pages, when I updated >> some >> fields in mysql console, commit, and close the mysql console, and go back >> to >> t5 app, some times the changes are not reflected, in fact, there are >> times >> when I checked the mysql again, the data was still there, got some idea >> what's wrong here? if this is not related to t5, sorry, >> >> Angelo >> >> >> >> -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/tapestry-hibernate-and-mysql-console-tp5717644.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: > users-unsubscribe@.apache >> For additional commands, e-mail: > users-help@.apache >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > users-unsubscribe@.apache > For additional commands, e-mail: > users-help@.apache -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry-hibernate-and-mysql-console-tp5717644p5717657.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org