Multiple parameters in sqlmap parameters.

2009-06-01 Thread NathanM
Please excuse me if this turns out to be a dumb question. Is it possible to do something simple like pass two int parameters into a statement? These are the examples I see in the manual: One simple type: select * from PRODUCT where PRD_ID = #value# One complex type: insert i

Re: Ibtor not preserving custom methods

2009-05-25 Thread NathanM
Jeff Butler-2 wrote: > > If you use the eclipse integrated ant task in eclipse you can solve both > problems - you can control the classpath through the Ant launch > configuration, anf the integrated ant task supports Java merging. > > Jeff Butler > > > I thought I *was* using the integrat

Re: Ibtor not preserving custom methods

2009-05-25 Thread NathanM
I believe you're right. But that puts me in a bit of a bind. I had to put in a custom JavaTypeResolver, which wouldn't work with the Eclipse plugin because I couldn't add it to the classpath. I've done it from the command line and now the ant build task, but i run into the problem mentioned here.

Ibtor not preserving custom methods

2009-05-22 Thread NathanM
The ibator documentation states this: "Every field and method generated by Ibator includes the non-standard JavaDoc tag @ibatorgenerated. On subsequent runs of Ibator, every field and method that includes this JavaDoc tag will be deleted and replaced. Any other field or method in the class will be

Foreign Key/ Relationships in IBator

2009-05-20 Thread NathanM
Does Ibator do anything special for foreign keys or relationships between tables? Ie parent and children, etc. I couldn't find this in the documentation. I believe hybernate did/does something like parent.getchildren. -- View this message in context: http://www.nabble.com/Foreign-Key--Relat

Re: NVARCHAR not supported?

2009-05-20 Thread NathanM
Thanks, that makes a big difference. While this won't work with the eclipse plugin, I got it to work from the command line and can probably get it to work with ant as well. Nathan Jeff Butler-2 wrote: > > You need to add your new resolver to the same classpath as the Ibator > JAR. eleme

Re: NVARCHAR not supported?

2009-05-18 Thread NathanM
Then what am I doing wrong with my resolver type? Ibator keeps failing with the "Cannot instantiate object . . . . JavaTypeResolverWithNVarChar"; Does this instantiation not use the classpath entries in the ibatorConfig.xml file? I've tried putting an entry in there for the bin directory which

Re: NVARCHAR not supported?

2009-05-18 Thread NathanM
I've tried a test case and casting it to a String works. It also gave the correct string value. I have not tried an actual UTF-16 valeu because I don't know how to enter one in SQL Server Management Studio. What is the best way to generate code to retrieve nvarchar as a string? Should I use a p

NVARCHAR not supported?

2009-05-15 Thread NathanM
Is NVarChar not supported? It seems to throw a lot of generation warnings in ibator, and Generation Warnings Occured Unsupported Data Type in table .. .. column: ... ,property defaults to Object type. I'm running it against SQL Server, and there are plenty of NVARCHAR columns in the data.