Hello,

I have a mySQL database that uses views. Is there a way to map these views to 
EntityBeans?

I can specify the view in the @Table annotation, but I get error when trying to 
get data from this:

13:57:33,755 ERROR [STDERR] java.lang.RuntimeException: 
org.jboss.tm.JBossRollbackException: Unable to commit, 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=TIGERBEE/60, BranchQual=, 
localId=60] status=STATUS_NO_TRANSACTION; - nested throwable: 
(javax.persistence.PersistenceException: org.hibernate.HibernateException: 
identifier of an instance of pardus.core.CustomerEntity was altered from 10001 
to null)

Any idea how to proceed?

Thanks and regards,
Christoph

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978383#3978383

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978383
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to