openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: Questions about OpenJPA issues
Date Sat, 13 Jun 2009 05:34:29 GMT
Hi Benjamin,

On Jun 12, 2009, at 3:34 PM, Benjamin S Vera-Tudela wrote:

> The reason I use the SessionBean is exactly for what you mention.  
> That is, I don't want to write the transaction begin/commit within  
> try/catch/finally as I like to think that session beans are used to  
> encapsulate my business logic within transaction boundaries. Is this  
> approach correct?

Yes. So you should remove any references to EntityTransaction from  
your beans.
> Please note that I get the "openjpa.jdbc.Schema - Existing column  
> "CODE" on table "APP.PROMOTION" is incompatible with the same column  
> in the given schema definition" error message for pretty much every  
> field in my tables (entities). I just pasted one of them in my  
> previous note to keep the message short.

I don't see anything obvious that would cause this problem.

Anyone else?


Craig L Russell
Architect, Sun Java Enterprise System
408 276-5638
P.S. A good JDO? O, Gasp!

View raw message