-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: EntityManager und Blobs
PostPosted: Tue May 01, 2007 6:17 am 
Newbie

Joined: Mon Mar 26, 2007 4:17 am
Posts: 6
Hi!
Habe versucht mit einem injezierten EntityManager (@PersistenceContext...)
mit der Methode persist() ein Blob in die Datenbank zu speichern. Bekomm
aber immer wieder folgende Exception:

java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=susi-linux/12194, BranchQual=, localId=12194] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.persistence.PersistenceException: java.lang.IllegalStateException: Blobs may not be accessed after serialization)

Warum geht das nicht? Bitte dringend um Hilfe!

mfg


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.