From: Roberto Lo G. <rlo...@us...> - 2011-02-23 13:51:26
|
The dbUnit issue trackers are hosted on sourceforge: http://sourceforge.net/projects/dbunit On Wed, Feb 23, 2011 at 06:29, nodje <nod...@gm...> wrote: > André, > there's something I don't get with your implementation. > > I still have to affect the property: > > connection.getConfig().setProperty(InsertOperationMSSQL.PROPERTY_IDENTITY_COLUMN_FILTER, > IDENTITY_FILTER_EXTENDED); > > so that the IDENTITY_FILTER_EXTENDED is taken into account. > > It doesn't solve the bug, or there's probably an other way to use it. > > Please let me know. > > > André Abe Vicente wrote: >> Nodge I think I had this problem. >> I correct the bug by myself implementing my own >> InsertIdentityOperation.java (attached) >> >> >> JdbcDatabaseTester databaseTester = new >> JdbcDatabaseTester("com.microsoft.sqlserver.jdbc.SQLServerDriver", >> >> "jdbc:sqlserver://serverName;DatabaseName=databaseName;SelectMethod=cursor", >> "login", "password"); >> >> databaseTester.setSetUpOperation(InsertOperationMSSQL.INSERT); >> >> >> On Tue, Feb 22, 2011 at 8:22 AM, nodje <nodje.co >> <http://nodje.co>@gmail.com <http://gmail.com>> wrote: >> >> Hi, >> >> I'm trying to reenable some old code that use to work. >> >> connection.getConfig().setProperty(InsertIdentityOperation.PROPERTY_IDENTITY_COLUMN_FILTER, >> IDENTITY_FILTER_EXTENDED); >> >> causes -->Did not find property with name >> 'http://www.dbunit.org/properties/mssql/identityColumnFilter' >> >> in DatabaseConfig:setProperty:216 -> convertIfNeeded:242 -> >> findByName:411, InsertIdentityOperation.PROPERTY_IDENTITY_COLUMN_FILTER >> is not found in the ALL_PROPERTIES list. >> >> I'm using version 2.4.8. >> >> I don't understand why this documented property is not found. >> Is there a new way to use it? >> >> Cheers >> >> >> ------------------------------------------------------------------------------ >> Index, Search & Analyze Logs and other IT data in Real-Time with Splunk >> Collect, index and harness all the fast moving IT data generated by your >> applications, servers and devices whether physical, virtual or in >> the cloud. >> Deliver compliance at lower cost and gain new business insights. >> Free Software Download: http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> dbunit-user mailing list >> dbu...@li... >> <mailto:dbu...@li...> >> https://lists.sourceforge.net/lists/listinfo/dbunit-user >> >> > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > dbunit-user mailing list > dbu...@li... > https://lists.sourceforge.net/lists/listinfo/dbunit-user > |