Hi STephen,

Stephen Ting wrote:
I am using the PB api in multiple databases environement. When i persist
javabean(BO) the following error occured. Could anyone give me some
insight on what's happening?
[Error] repository_userB.xml:14:25: Attribute value
"my.com.shinyang.einout.business.bo.InventoryBO" of type ID must be
unique within the document.
[Error] repository_userC.xml:14:25: Attribute value
"my.com.shinyang.einout.business.bo.InventoryBO" of type ID must be
unique within the document.
Actually, in another repository file, that's repository_user.xml. I have
the same BO declared. Is it the ID field clash. How to resolve the
problems.
The repository.dtd uses class names as unique IDs to identify class-descriptor elements.
It is not allowed to have two class.decriptors for the same class in one repository.
The error message you get is quite precise in this respect.

You must organize your xml include files in a way to avoid such conflicts.

cheers,
Thomas

thanks in advance.
regards,
Stephen




--
To unsubscribe, e-mail:   <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

Reply via email to