Hi all,
 
while we all in this list have debated about the best way to have an Autoincrement-like feature in our EJB (using AutoNumber bean, using a singleton session bean to retrieve the newly created id in the db, etc.), i've just came through a text at jGuru - in FAQ section about EJB - about a fairly simple way to handle auto-incr with CMP. I'd just like want to know if anyone has tested the suggested method, and if it works correctly with jBoss ....
Any comment would be higly appreciated.
 
--hermann
 
From jGuru :
Question How does Container Managed Persistence work with automatically generated database ID fields? Should I map the ID field explicitly or leave it unspecified?
 
Answer
In the Deployment Descriptor, map the normal fields appropriately, but don't specify the auto-id field as one of the container managed fields.
----- Original Message -----
From: jK.MkIII
Sent: Thursday, July 26, 2001 3:27 PM
Subject: Re: [JBoss-user] Jive Forums speed feed-back wanted

Hi,

I am on very big pipe and I noticed couple things..

With IE 6.00 everything is very fast (don't need any faster if want to see where I am clicking)
With Netscape 4.75 things are worse. Everytime I go to thread (1-2 seconds), and then come back it takes several (~5) secods.

But I don't mind because I have switched to IE after noticing similiar problems on other places.

And my experiences with web boards is that speed is no problem even when behind 56k modem, not sure about this one because haven't tested from home.

But still would like to point out that it is extremely hard to keep track what threads have new messages since last visit because there is nothing showing it (unlike all other web boards I have used). And that automatical login would also be nice..
 

--
    jK.MkIII
  _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to