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
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
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.
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
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
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
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
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
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.