Hi Justin,

[EMAIL PROTECTED] wrote:
I'm guessing someone has already asked this, but I'm going to ask again.
I'm currently using OJB. I like OJB just fine, except the auto increment
part. Every time I restart my web app it jumps the count up ten. I know why
it does that and I'm guessing that if I set the increment count to one
instead of ten it would fix this.

SOrry that's the way SequenceNumers work. It's not an OJB problem it's part of the concept. If you don't like the default mechanism you can use other autoincrement algorithms that behave better. There are several examples that rely on DB managed sequence numbers in the SequenceManager package.


I'm not really sure I like all the tables
you have to create to run the ODMG part.

It's not a question of choice for us. If you want to be ODMG compliant you have to provide persistent collections. To provide persistent collection you must be able to store them in the DB. Hence all those tables.


If you don't want to use ODMG persistent collection you don't need those tables!

I was thinking of switching to
Hibernate. I've looked at it some and it looks like it does the same thing
except the JDO. It does say it supports ODMG. Any input would be great.
Hey, maybe I'm just not using OJB right.

If Hibernate is fully ODMG compliant they will also need tables to persistent collections.


AFAIK they they don't support ODMG persistent collections right now.
I looked at there ODMG stuff some time ago, and it was poor compared to our stuff. I don't know if they have improved in the last months.


cheers,
Thomas





Thank You,

Justin A. Stanczak
Web Manager
Shake Learning Resource Center
Vincennes University
(812)888-5813



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to