This content has been marked as final.
Show 2 replies
-
1. Re: @PersistenceProperty on @PersistenceContext
jaikiran Oct 12, 2010 3:58 AM (in response to nickarls)Wouldn't it work in persistence.xml where you configure the persistence unit? You could set that property there.
-
2. Re: @PersistenceProperty on @PersistenceContext
nickarls Oct 12, 2010 4:21 AM (in response to jaikiran)Unfortunately it doesn't appear to work (tried both org.hibernate.flushMode and hibernate.flushMode) and no official documentation ever mentions it in the context of persistence.xml. I'll get by with the manual setting of the flushmode for now, thanks.