Markus Rådö
2002-10-15 13:34:04 UTC
Hello,
is anyone using current Middlegen with SQL Server? The problem I have is
that to get Middlegen to read the tables in the database I have to
specify the database.schema with value="dbo", but then when I deploy the
app server (JBoss 3.0.3) tries to generate the tables even though they
already exist, because it looks for tables named dbo.Tablename which the
database doesn't find. What I need is jbosscmp-jdbc.xml with tablenames
without the schema prefix (@ejb.persistence table-name). Any ideas on
how to solve this? Maybe we need another cmp20 task attribute, like
schemaprefix="false"?
Markus
is anyone using current Middlegen with SQL Server? The problem I have is
that to get Middlegen to read the tables in the database I have to
specify the database.schema with value="dbo", but then when I deploy the
app server (JBoss 3.0.3) tries to generate the tables even though they
already exist, because it looks for tables named dbo.Tablename which the
database doesn't find. What I need is jbosscmp-jdbc.xml with tablenames
without the schema prefix (@ejb.persistence table-name). Any ideas on
how to solve this? Maybe we need another cmp20 task attribute, like
schemaprefix="false"?
Markus