[JBoss Tools] New message: "Re: Smooks xml-to-java mapping using wizard"
by Atte Heino
User development,
A new message was posted in the thread "Smooks xml-to-java mapping using wizard":
http://community.jboss.org/message/523246#523246
Author : Atte Heino
Profile : http://community.jboss.org/people/aheino
Message:
--------------------------------------------------------------
Hi Fitz and thanks for your reply!
I'm running the 3.1 CR1 version of the JBT ( 1.3.0.v200912250601M-H198-CR1)
You were correct about me not following the Java Bean Pattern. I was just following the class example from Tom's video and was too lazy to check the actual specs So now I have altered my classes to follow the pattern. (I was missing the default constructor and I also made them serializable.)
But, it's still not working so I'll try to update the JBT to CR2. let's see if that helps.
-Atte
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523246#523246
14 years, 11 months
[Javassist] New message: "lacking adequate features - addcatch, insertAfter(...,true); "
by Arvind K
User development,
A new message was posted in the thread "lacking adequate features - addcatch, insertAfter(...,true);":
http://community.jboss.org/message/523245#523245
Author : Arvind K
Profile : http://community.jboss.org/people/megalodon
Message:
--------------------------------------------------------------
Hello All,
As far as my understanding goes, the 'catch' and 'finally' clauses are there to clean up and close internally allocated resources. To do that, one needs, among other things, unrestricted access to local variables in order to flush/close streams etc.,. In this case, why do the addCatch() and insertAfter(...,true) functions not allow access to any local variables including the ones created using Javassist? What can I do with just the $e variable?
If I am not mistaken, BCEL, does not place any such restriction with respect to local variable access unlike Javassist.
Please guide me with comments/suggestions/alternatives etc....Thanking you in advance.
-Arvind
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523245#523245
14 years, 11 months
[jBPM] New message: "Re: jbpm 4.3 - org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update"
by Ronald van Kuijk
User development,
A new message was posted in the thread "jbpm 4.3 - org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update":
http://community.jboss.org/message/523238#523238
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
Well, from what I could determine from the different configs is: (and this does not yield any more new info for me)
- use JTA if you want jBPM to participate fully in JTA
- use 'normal' if you want to just have jdbc transactions.
In the first case do not forget to configure
<property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
<property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
<property name="jta.UserTransaction">UserTransaction</property>
correctly in your hibernate config specific for your server. That is all I can find out without digging to much in. Does this shed new light on it for you or doesn't it? (I think the latter)
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523238#523238
14 years, 11 months