aspose file tools*
The moose likes JBoss/WildFly and the fly likes cmr fields jboss-3.2.6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "cmr fields jboss-3.2.6" Watch "cmr fields jboss-3.2.6" New topic
Author

cmr fields jboss-3.2.6

Antonio Goodman
Greenhorn

Joined: Oct 01, 2002
Posts: 19
Hi guys!

I need your help !

Early i used jboss-3.0.8 - ms sql 2000 and all works fine!!!
but when i try to update application server to 3.2.6, i have some problem with CMR fields:
everyWhere i used cmr fields i recieved the error:

2005-01-27 00:11:59,677 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.BookLoan] Executing SQL: SELECT Kod, Name, enumLoanType FROM Loan WHERE (Id=?)
2005-01-27 00:11:59,747 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.lang.String ru.ifirst.holding.core.entity.book.BookLoan.getName(), causedBy:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid column name 'enumLoanType'.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
...


in the debug source select use 3 field, but one of them (enumLoanType) is relation...
why did it happen?

thanks for help!!!
Antonio Goodman
Greenhorn

Joined: Oct 01, 2002
Posts: 19
Hi people!!!

i fixed my bug, so if y'll meet it too...listen

i create jboss CMP beans from JBUILDER9 and
when i designed relation many to one y must do : from One to Many (but at first i did it vice versa from many to one)

and now all works fine 8)
 
Don't get me started about those stupid light bulbs.
 
subject: cmr fields jboss-3.2.6