I am getting a castor duplicate identity exception.

Castor version: 1.0.1.

Database db2.

Does anyone no why these would happen?

I would upgrade to 1.2 but I noticed that castor 1.2 is significantly slower 
than 1.0.1. I would much rather add a patch then to upgrade w/o taking a look 
as to why it is slower.

Here is a copy of my key generation. Should I increase the grab-size>

<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN"
"http://castor.exolab.org/mapping.dtd";>
<mapping>
<key-generator name="HIGH-LOW" alias="keygen">
<param name="table" value="seq"/>
<param name="key-column" value="seq_table_name"/>
<param name="value-column" value="max_pk_value"/>
<param name="grab-size" value="50"/>
<param name="same-connection" value="true"/>
</key-generator>
</mapping>

Steve

Reply via email to