A simple workaround is to make your ejbdoclet task remove the dbo prefix:
<!-- remove .dbo prefix from jbosscmp-jdbc.xml -->
<replace file="${build.ejb-meta.dir}/META-INF/jbosscmp-jdbc.xml"
token="dbo." value=""/>
-in a JBoss 3.0.4 scenario, anyway.
Regards,
Kristoffer
> Hi,
>
> I have a small problem with middlegen when I use the mssql 2000 jdbc
> driver. It puts the schema name in front of the table name in the
> @ejb.persistence tag. Instead of @ejb.persistence
> table-name="contacts", I get @ejb.persistence
> table-name="dbo.contacts". This results in syntax errors which abort
> the deployment.
>
> I added an option to middlegen to take care of the problem but I was
> wondering if there was a way to fix it without a source change. I
> didn't see one but I haven't used middlegen very long so I could have
> easily missed something. If it turns out that the change is needed,
> I'll submit it as a patch.
>
> Thanks,
> Scott
>
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Microsoft Visual Studio.NET
> comprehensive development tool, built to increase your
> productivity. Try a free online hosted session at:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
> _______________________________________________
> middlegen-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/middlegen-user
Mhv/regards,
Kristoffer Moe
Senior Consultant
Elan It ReSource
-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET
comprehensive development tool, built to increase your
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user