I created the following:
o Person has current PersonStatus
o Person has history of PersonStatus

These entities use NamedSequenceTable for automatic primary key generation.
Everything works great.

I created the following:
o Product has current AnalystRating
o Product has history of AnalystRating

These entities use SQLServer for automatic primary key generation. In
AnalystRating ejbPostCreate, the primary key is being used even though the
primary key isn't created yet! Is this a bug? Here is the stack trace. I
will more than happy to provide a sample that demonstrate this...

A work around I have found is to delay-database-insert-until ejbCreate
forcing the primary key generation. However, in this case the foreign key
to product has to relaxed to allow null!

[ProductBean_nywa5c__WebLogic_CMP_RDBMS] :
ProductBean_nywa5c__WebLogic_CMP_RDBM
S.setup called.
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : called __WL_create.
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : __WL_create() got connection.
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : __WL_create() produced sqlString
INSE
RT INTO product (LONG_DESCRIPTION, SHORT_DESCRIPTION, SKU,
Analyst_Rating_Id) VA
LUES (?, ?, ?, ?)
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : paramIdx :2 binded with value
:Chocol
ate Donut
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : paramIdx :3 binded with value
:sku0.3
3460627630722095
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : __WL_create() about to execute
sql.
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : ejbStore 1
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : WL_store sql: UPDATE product SET
LONG
_DESCRIPTION = ? WHERE PRODUCT_ID = ?
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] :
setting(com.malani.sem.domain.Product
Bean_nywa5c__WebLogic_CMP_RDBMS@658704) 'longDescription' using column 1.
Value
is A very delicious chocolate donut.
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : paramIdx :1 binded with value :A
very
delicious chocolate donut.
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : paramIdx :2 binded with value :1
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : ejbStore: complete
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] :
ProductBean_nywa5c__WebLogic_CMP_RDBM
S.setup called.
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : called findByPrimaryKey.
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : Finder produced statement string
SELE
CT WL0.PRODUCT_ID, WL0.LONG_DESCRIPTION, WL0.SHORT_DESCRIPTION, WL0.SKU,
WL0.Ana
lyst_Rating_Id FROM product WL0 WHERE ( WL0.PRODUCT_ID = ? )
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : paramIdx :1 binded with value :1
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : __WL_loadGroup0FromRS
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] : bean after finder load:
com.malani.se
m.domain.ProductBean_nywa5c__WebLogic_CMP_RDBMS@65 8704
[AnalystRatingBean_kgqpls__WebLogic_CMP_RDBMS] :
AnalystRatingBean_kgqpls__WebLo
gic_CMP_RDBMS.setup called.
[AnalystRatingBean_kgqpls__WebLogic_CMP_RDBMS] :
[java.lang.Object@1aa8b42]calle
d __WL_doSetProduct...
[AnalystRatingBean_kgqpls__WebLogic_CMP_RDBMS] : setting field variable to
new v
alue.
[ProductBean_nywa5c__WebLogic_CMP_RDBMS] :
__WL_historyAnalystRatings_field
_ was null.
[ProductBean_nywa5c__WebLogic_CMP_RDBMS_historyAnal ystRatings_Set] : doAdd()
cal
led.
[AnalystRatingBean_kgqpls__WebLogic_CMP_RDBMS] : calling
__WL_currentProduct_fin
der_ with value of java.lang.Object@1aa8b42
metho
d:
ejbFindByAnalystRatingBean_kgqpls__WebLogic_CMP_RD BMS_currentProduct__WL_:
ja
va.lang.IllegalArgumentException: argument type mismatch.
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.s calarFinder(RDBMSPe
rsistenceManager.java:277)
at
weblogic.ejb20.manager.BaseEntityManager.scalarFin der(BaseEntityManag
er.java:1530)
at
weblogic.ejb20.manager.BaseEntityManager.localScal arFinder(BaseEntity
Manager.java:1514)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.ge
tCurrentProduct(AnalystRatingBean_kgqpls__WebLogic _CMP_RDBMS.java:603)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.__
WL_setNullCurrentProduct(AnalystRatingBean_kgqpls_ _WebLogic_CMP_RDBMS.java:2
432)

at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.se
tCurrentProduct(AnalystRatingBean_kgqpls__WebLogic _CMP_RDBMS.java:646)
at
com.malani.sem.domain.AnalystRatingBean.ejbPostCre ate(AnalystRatingBe
an.java:65)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.ej
bPostCreate(AnalystRatingBean_kgqpls__WebLogic_CMP _RDBMS.java:2247)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.manager.DBManager.create(DBManager. java:1169)
at weblogic.ejb20.manager.DBManager.localCreate(DBMan ager.java:1118)
at
weblogic.ejb20.internal.EntityEJBLocalHome.create( EntityEJBLocalHome.
java:171)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls_Loc alHomeImpl.create(A
nalystRatingBean_kgqpls_LocalHomeImpl.java:80)
at
com.malani.sem.domain.DomainFacadeBean.createAnaly stRating(DomainFaca
deBean.java:228)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl.c reateAnalystRating(
DomainFacade_30n18s_EOImpl.java:150)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl_W LSkel.invoke(Unknow
n Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicS erverRef.java:466)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke( ReplicaAwareServerR
ef.java:108)
at
weblogic.rmi.internal.BasicServerRef$1.run(BasicSe rverRef.java:409)
at
weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(Authenticate
dSubject.java:353)
at
weblogic.security.service.SecurityManager.runAs(Se curityManager.java:
144)
at
weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.jav
a:404)
at
weblogic.rmi.internal.BasicExecuteRequest.execute( BasicExecuteRequest
..java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
>

[AnalystRatingBean_kgqpls__WebLogic_CMP_RDBMS] : wrapping Exception in
Persisten
ceRuntimeException.
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.s calarFinder(RDBMSPe
rsistenceManager.java:277)
at
weblogic.ejb20.manager.BaseEntityManager.scalarFin der(BaseEntityManag
er.java:1530)
at
weblogic.ejb20.manager.BaseEntityManager.localScal arFinder(BaseEntity
Manager.java:1514)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.ge
tCurrentProduct(AnalystRatingBean_kgqpls__WebLogic _CMP_RDBMS.java:603)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.__
WL_setNullCurrentProduct(AnalystRatingBean_kgqpls_ _WebLogic_CMP_RDBMS.java:2
432)

at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.se
tCurrentProduct(AnalystRatingBean_kgqpls__WebLogic _CMP_RDBMS.java:646)
at
com.malani.sem.domain.AnalystRatingBean.ejbPostCre ate(AnalystRatingBe
an.java:65)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.ej
bPostCreate(AnalystRatingBean_kgqpls__WebLogic_CMP _RDBMS.java:2247)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.manager.DBManager.create(DBManager. java:1169)
at weblogic.ejb20.manager.DBManager.localCreate(DBMan ager.java:1118)
at
weblogic.ejb20.internal.EntityEJBLocalHome.create( EntityEJBLocalHome.
java:171)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls_Loc alHomeImpl.create(A
nalystRatingBean_kgqpls_LocalHomeImpl.java:80)
at
com.malani.sem.domain.DomainFacadeBean.createAnaly stRating(DomainFaca
deBean.java:228)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl.c reateAnalystRating(
DomainFacade_30n18s_EOImpl.java:150)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl_W LSkel.invoke(Unknow
n Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicS erverRef.java:466)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke( ReplicaAwareServerR
ef.java:108)
at
weblogic.rmi.internal.BasicServerRef$1.run(BasicSe rverRef.java:409)
at
weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(Authenticate
dSubject.java:353)
at
weblogic.security.service.SecurityManager.runAs(Se curityManager.java:
144)
at
weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.jav
a:404)
at
weblogic.rmi.internal.BasicExecuteRequest.execute( BasicExecuteRequest
..java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
[AnalystRatingBean_kgqpls__WebLogic_CMP_RDBMS] : rethrowing
RuntimeException.
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.s calarFinder(RDBMSPe
rsistenceManager.java:277)
at
weblogic.ejb20.manager.BaseEntityManager.scalarFin der(BaseEntityManag
er.java:1530)
at
weblogic.ejb20.manager.BaseEntityManager.localScal arFinder(BaseEntity
Manager.java:1514)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.ge
tCurrentProduct(AnalystRatingBean_kgqpls__WebLogic _CMP_RDBMS.java:603)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.__
WL_setNullCurrentProduct(AnalystRatingBean_kgqpls_ _WebLogic_CMP_RDBMS.java:2
432)

at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.se
tCurrentProduct(AnalystRatingBean_kgqpls__WebLogic _CMP_RDBMS.java:646)
at
com.malani.sem.domain.AnalystRatingBean.ejbPostCre ate(AnalystRatingBe
an.java:65)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.ej
bPostCreate(AnalystRatingBean_kgqpls__WebLogic_CMP _RDBMS.java:2247)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.manager.DBManager.create(DBManager. java:1169)
at weblogic.ejb20.manager.DBManager.localCreate(DBMan ager.java:1118)
at
weblogic.ejb20.internal.EntityEJBLocalHome.create( EntityEJBLocalHome.
java:171)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls_Loc alHomeImpl.create(A
nalystRatingBean_kgqpls_LocalHomeImpl.java:80)
at
com.malani.sem.domain.DomainFacadeBean.createAnaly stRating(DomainFaca
deBean.java:228)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl.c reateAnalystRating(
DomainFacade_30n18s_EOImpl.java:150)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl_W LSkel.invoke(Unknow
n Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicS erverRef.java:466)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke( ReplicaAwareServerR
ef.java:108)
at
weblogic.rmi.internal.BasicServerRef$1.run(BasicSe rverRef.java:409)
at
weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(Authenticate
dSubject.java:353)
at
weblogic.security.service.SecurityManager.runAs(Se curityManager.java:
144)
at
weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.jav
a:404)
at
weblogic.rmi.internal.BasicExecuteRequest.execute( BasicExecuteRequest
..java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
[AnalystRatingBean_kgqpls__WebLogic_CMP_RDBMS] : rethrowing
RuntimeException.
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.s calarFinder(RDBMSPe
rsistenceManager.java:277)
at
weblogic.ejb20.manager.BaseEntityManager.scalarFin der(BaseEntityManag
er.java:1530)
at
weblogic.ejb20.manager.BaseEntityManager.localScal arFinder(BaseEntity
Manager.java:1514)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.ge
tCurrentProduct(AnalystRatingBean_kgqpls__WebLogic _CMP_RDBMS.java:603)
at
cm.malani.sem.domain.AnalystRatingBean_kgqpls__Web Logic_CMP_RDBMS.__
WL_setNullCurrentProduct(AnalystRatingBean_kgqpls_ _WebLogic_CMP_RDBMS.java:2
432)

at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.se
tCurrentProduct(AnalystRatingBean_kgqpls__WebLogic _CMP_RDBMS.java:646)
at
com.malani.sem.domain.AnalystRatingBean.ejbPostCre ate(AnalystRatingBe
an.java:65)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.ej
bPostCreate(AnalystRatingBean_kgqpls__WebLogic_CMP _RDBMS.java:2247)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.manager.DBManager.create(DBManager. java:1169)
at weblogic.ejb20.manager.DBManager.localCreate(DBMan ager.java:1118)
at
weblogic.ejb20.internal.EntityEJBLocalHome.create( EntityEJBLocalHome.
java:171)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls_Loc alHomeImpl.create(A
nalystRatingBean_kgqpls_LocalHomeImpl.java:80)
at
com.malani.sem.domain.DomainFacadeBean.createAnaly stRating(DomainFaca
deBean.java:228)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl.c reateAnalystRating(
DomainFacade_30n18s_EOImpl.java:150)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl_W LSkel.invoke(Unknow
n Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicS erverRef.java:466)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke( ReplicaAwareServerR
ef.java:108)
at
weblogic.rmi.internal.BasicServerRef$1.run(BasicSe rverRef.java:409)
at
weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(Authenticate
dSubject.java:353)
at
weblogic.security.service.SecurityManager.runAs(Se curityManager.java:
144)
at
weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.jav
a:404)
at
weblogic.rmi.internal.BasicExecuteRequest.execute( BasicExecuteRequest
..java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
[AnalystRatingBean_kgqpls__WebLogic_CMP_RDBMS] : rethrowing
RuntimeException.
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.s calarFinder(RDBMSPe
rsistenceManager.java:277)
at
weblogic.ejb20.manager.BaseEntityManager.scalarFin der(BaseEntityManag
er.java:1530)
at
weblogic.ejb20.manager.BaseEntityManager.localScal arFinder(BaseEntity
Manager.java:1514)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.ge
tCurrentProduct(AnalystRatingBean_kgqpls__WebLogic _CMP_RDBMS.java:603)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.__
WL_setNullCurrentProduct(AnalystRatingBean_kgqpls_ _WebLogic_CMP_RDBMS.java:2
432)

at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.se
tCurrentProduct(AnalystRatingBean_kgqpls__WebLogic _CMP_RDBMS.java:646)
at
com.malani.sem.domain.AnalystRatingBean.ejbPostCre ate(AnalystRatingBe
an.java:65)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.ej
bPostCreate(AnalystRatingBean_kgqpls__WebLogic_CMP _RDBMS.java:2247)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.manager.DBManager.create(DBManager. java:1169)
at weblogic.ejb20.manager.DBManager.localCreate(DBMan ager.java:1118)
at
weblogic.ejb20.internal.EntityEJBLocalHome.create( EntityEJBLocalHome.
java:171)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls_Loc alHomeImpl.create(A
nalystRatingBean_kgqpls_LocalHomeImpl.java:80)
at
com.malani.sem.domain.DomainFacadeBean.createAnaly stRating(DomainFaca
deBean.java:228)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl.c reateAnalystRating(
DomainFacade_30n18s_EOImpl.java:150)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl_W LSkel.invoke(Unknow
n Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicS erverRef.java:466)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke( ReplicaAwareServerR
ef.java:108)
at
weblogic.rmi.internal.BasicServerRef$1.run(BasicSe rverRef.java:409)
at
weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(Authenticate
dSubject.java:353)
at
weblogic.security.service.SecurityManager.runAs(Se curityManager.java:
144)
at
weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.jav
a:404)
at
weblogic.rmi.internal.BasicExecuteRequest.execute( BasicExecuteRequest
..java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
metho
d: ejbPostCreate: java.lang.IllegalArgumentException: argument type
mismatch.
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.s calarFinder(RDBMSPe
rsistenceManager.java:277)
at
weblogic.ejb20.manager.BaseEntityManager.scalarFin der(BaseEntityManag
er.java:1530)
at
weblogic.ejb20.manager.BaseEntityManager.localScal arFinder(BaseEntity
Manager.java:1514)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.ge
tCurrentProduct(AnalystRatingBean_kgqpls__WebLogic _CMP_RDBMS.java:603)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.__
WL_setNullCurrentProduct(AnalystRatingBean_kgqpls_ _WebLogic_CMP_RDBMS.java:2
432)

at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.se
tCurrentProduct(AnalystRatingBean_kgqpls__WebLogic _CMP_RDBMS.java:646)
at
com.malani.sem.domain.AnalystRatingBean.ejbPostCre ate(AnalystRatingBe
an.java:65)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.ej
bPostCreate(AnalystRatingBean_kgqpls__WebLogic_CMP _RDBMS.java:2247)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.manager.DBManager.create(DBManager. java:1169)
at weblogic.ejb20.manager.DBManager.localCreate(DBMan ager.java:1118)
at
weblogic.ejb20.internal.EntityEJBLocalHome.create( EntityEJBLocalHome.
java:171)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls_Loc alHomeImpl.create(A
nalystRatingBean_kgqpls_LocalHomeImpl.java:80)
at
com.malani.sem.domain.DomainFacadeBean.createAnaly stRating(DomainFaca
deBean.java:228)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl.c reateAnalystRating(
DomainFacade_30n18s_EOImpl.java:150)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl_W LSkel.invoke(Unknow
n Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicS erverRef.java:466)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke( ReplicaAwareServerR
ef.java:108)
at
weblogic.rmi.internal.BasicServerRef$1.run(BasicSe rverRef.java:409)
at
weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(Authenticate
dSubject.java:353)
at
weblogic.security.service.SecurityManager.runAs(Se curityManager.java:
144)
at
weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.jav
a:404)
at
weblogic.rmi.internal.BasicExecuteRequest.execute( BasicExecuteRequest
..java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
>

occurred
during invocation from home:
com.malani.sem.domain.DomainFacade_30n18s_HomeImpl
@4cb3a4 threw exception: javax.ejb.TransactionRolledbackLocalException: EJB
Exce
ption:; nested exception is: java.lang.IllegalArgumentException: argument
type m
ismatch
javax.ejb.TransactionRolledbackLocalException: EJB Exception:; nested
exception
is: java.lang.IllegalArgumentException: argument type mismatch
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.s calarFinder(RDBMSPe
rsistenceManager.java:277)
at
weblogic.ejb20.manager.BaseEntityManager.scalarFin der(BaseEntityManag
er.java:1530)
at
weblogic.ejb20.manager.BaseEntityManager.localScal arFinder(BaseEntity
Manager.java:1514)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.ge
tCurrentProduct(AnalystRatingBean_kgqpls__WebLogic _CMP_RDBMS.java:603)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.__
WL_setNullCurrentProduct(AnalystRatingBean_kgqpls_ _WebLogic_CMP_RDBMS.java:2
432)

at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.se
tCurrentProduct(AnalystRatingBean_kgqpls__WebLogic _CMP_RDBMS.java:646)
at
com.malani.sem.domain.AnalystRatingBean.ejbPostCre ate(AnalystRatingBe
an.java:65)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls__We bLogic_CMP_RDBMS.ej
bPostCreate(AnalystRatingBean_kgqpls__WebLogic_CMP _RDBMS.java:2247)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.manager.DBManager.create(DBManager. java:1169)
at weblogic.ejb20.manager.DBManager.localCreate(DBMan ager.java:1118)
at
weblogic.ejb20.internal.EntityEJBLocalHome.create( EntityEJBLocalHome.
java:171)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls_Loc alHomeImpl.create(A
nalystRatingBean_kgqpls_LocalHomeImpl.java:80)
at
com.malani.sem.domain.DomainFacadeBean.createAnaly stRating(DomainFaca
deBean.java:228)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl.c reateAnalystRating(
DomainFacade_30n18s_EOImpl.java:150)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl_W LSkel.invoke(Unknow
n Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicS erverRef.java:466)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke( ReplicaAwareServerR
ef.java:108)
at
weblogic.rmi.internal.BasicServerRef$1.run(BasicSe rverRef.java:409)
at
weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(Authenticate
dSubject.java:353)
at
weblogic.security.service.SecurityManager.runAs(Se curityManager.java:
144)
at
weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.jav
a:404)
at
weblogic.rmi.internal.BasicExecuteRequest.execute( BasicExecuteRequest
..java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
javax.ejb.TransactionRolledbackLocalException: EJB Exception:; nested
exception
is: java.lang.IllegalArgumentException: argument type mismatch
at
weblogic.ejb20.internal.EJBRuntimeUtils.throwTrans actionRolledbackLoc
al(EJBRuntimeUtils.java:248)
at
weblogic.ejb20.internal.BaseEJBLocalHome.handleSys temException(BaseEJ
BLocalHome.java:242)
at
weblogic.ejb20.internal.EntityEJBLocalHome.create( EntityEJBLocalHome.
java:182)
at
com.malani.sem.domain.AnalystRatingBean_kgqpls_Loc alHomeImpl.create(A
nalystRatingBean_kgqpls_LocalHomeImpl.java:80)
at
com.malani.sem.domain.DomainFacadeBean.createAnaly stRating(DomainFaca
deBean.java:228)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl.c reateAnalystRating(
DomainFacade_30n18s_EOImpl.java:150)
at
com.malani.sem.domain.DomainFacade_30n18s_EOImpl_W LSkel.invoke(Unknow
n Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicS erverRef.java:466)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke( ReplicaAwareServerR
ef.java:108)
at
weblogic.rmi.internal.BasicServerRef$1.run(BasicSe rverRef.java:409)
at
weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(Authenticate
dSubject.java:353)
at
weblogic.security.service.SecurityManager.runAs(Se curityManager.java:
144)
at
weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.jav
a:404)
at
weblogic.rmi.internal.BasicExecuteRequest.execute( BasicExecuteRequest
..java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
>