FYI, there was already a feature request for this. Implemented now. A
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 4. desember 2002 02:08 To: [EMAIL PROTECTED] Subject: [ middlegen-Feature Requests-623615 ] schemaprefix attribute Feature Requests item #623615, was opened at 2002-10-15 18:04 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=415993&aid=623615&group_id =36044 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: schemaprefix attribute Initial Comment: I don't remember exactly who wanted it to be the other way around: http://cvs.middlegen.sourceforge.net/cgi- bin/viewcvs.cgi/middlegen/middlegen/plugins/entitybean/ src/middlegen/plugins/entitybean/entity-cmp-20.vm.diff? r1=1.38&r2=1.39 But if some appservers/databases/drivers want it this way and other combinations the other way, we must let the user choose. (I would be surprised if one way would work in all combinations). A new schemaprefix attribute would do it. Until it's implemented, just modify the template locally yourself. Cheers, Aslak > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Markus > Rådö > Sent: 15. oktober 2002 17:34 > To: [EMAIL PROTECTED] > Subject: [Middlegen-user] SQL Server schema problem > > > 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 > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > middlegen-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/middlegen- user ---------------------------------------------------------------------- >Comment By: Aslak Hellesøy (rinkrank) Date: 2002-12-04 02:08 Message: Logged In: YES user_id=49846 Done. Use useSchemaPrefix="true|false" on your cmp20 plugin. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=415993&aid=623615&group_id =36044 ------------------------------------------------------- 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