I have to come back to this issue once again. There must be some easy explanation.
The following code produces "Test Card" in the DB. Why the last change
doesn't get persisted? It is a part of the transaction, after all.
@Create
| @Transactional
| public void init() {
| Card card = new Card();
| card.setName("Test Card");
| entityManager.persist(card);
| card.setName("The final name");
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112593#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...