Themuppeteer
Programmer
Hello guys,
I want to set a foreign key constraint in Jboss (3.2.3).
I'm using a mySQL DB (version MySQL 4.0.17). In order to do this, I've to add an index
to my foreign key field. The problem is I have no idea where to set this in the deployment
descriptors of my ejb. One solution is to create the db tables by myself, but there are
to many tables to do this.
Is there somebody that knows how to create an index on a field by specifying it in the
deployment descriptors of the ejb?
(If anyone can help me, of course I'd be happy to give a star.)
Any help is welcome, cause I'm already stuck on this for a week...
Greetz,
NOSPAM_themuppeteer@hotmail.com (for mails, remove the NOSPAM_)
"Those who say they understand chess, understand nothing"
-- Robert HUBNER
I want to set a foreign key constraint in Jboss (3.2.3).
I'm using a mySQL DB (version MySQL 4.0.17). In order to do this, I've to add an index
to my foreign key field. The problem is I have no idea where to set this in the deployment
descriptors of my ejb. One solution is to create the db tables by myself, but there are
to many tables to do this.
Is there somebody that knows how to create an index on a field by specifying it in the
deployment descriptors of the ejb?
(If anyone can help me, of course I'd be happy to give a star.)
Any help is welcome, cause I'm already stuck on this for a week...
Greetz,
NOSPAM_themuppeteer@hotmail.com (for mails, remove the NOSPAM_)
"Those who say they understand chess, understand nothing"
-- Robert HUBNER