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

 

 

 

Re: GBean for auto generation of primary key

 

Reply (Restricted by the Administrator) | Show Only this Message

2005/12/16, Ranjan, Rakesh (Cognizant) <[EMAIL PROTECTED]>:

> So, I hope adventure builder deployment issue will be resolved very soon.

Hi,

I must've missed it, but what issue are you talking about?

> Rakesh Ranjan

Jacek

 

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

Visit us at http://www.cognizant.com

Reply via email to