|
Hi Jacek,
I think the issue for which I am talking about is
resolved now. Yet I am sending that mail again.
Rakesh
I have a
written a custom-generator GBean which implements org.tranql.pkgenerator.PrimaryKeyGenerator. This
GBean is able to create automatically generated UUID primary key for unknown
primary keys. It uses. the org.apache.axis components.uuid.FastUUIDGen class for
generating the UUID primary key.
As we know JBoss
use a automatically generated UUID primary key for unknown primary keys.
That’s why we are able to deploy the adventure builder application
successfully on JBoss. But it create problem when we deploy it in Geronimo.
Using this GBean that issue can be resolved. I have tested it with a the
adventure builder application . It is working perfectly.
We can use this
GBean in openejb-jar.xml
as follows : -
............
............
<primkey-field>id</primkey-field>
<key-generator>
<custom-generator>
<generatorname>
geronimo.server:J2EEApplication=null,J2EEModule=geronimoKeyGenerator,J2EEServer=geronimo,j2eeType=GBean,name=UUIDGBean
</generator-name>
<primary-key-class>java.lang.String</primary-key-class>
</custom-generator>
</key-generator>
............
............
So,
I hope adventure builder deployment issue will be resolved very soon
|