That's .NET? It looks just like Java code, except that Main has a capital
"M", whereas string[] a lower-case "s" ;-)
Thanks for the contribution. I hope I can find some time to try this on my
machine..

I have registered feature request #2334 for this:
https://github.com/jOOQ/jOOQ/issues/2334

Cheers
Lukas

> Btw, could it be possible that post in this forum vanish from time to
time? I'm pretty sure I posted in this thread before, but the message is
not here anymore ...

Google groups has its ways... If you're using different e-mail addresses, I
have to "accept" you afresh every time, to prevent spam. There might be 1-2
other filters, e.g. depending on the attachment type, which are out of my
control, I'm afraid.

2013/3/12 Matthias Fuchs <[email protected]>

> I compiled jOOQ for .NET. The library is attached.
>
> I tried it with a little test program that reads some data from a postgres
> db with a plain sql fetch.
> The programm looks like this:
>
>       public static void Main(string[] args) {
>             DriverManager.registerDriver(new org.postgresql.Driver());
>
>             Connection con = null;
>             Executor exe = null;
>             Result ret;
>
>             try {
>                 con = DriverManager.getConnection("jdbc:postgresql://
> 192.168.201.16:5433/shop_test_ditech", "postgres", "postgres");
>                 exe = new Executor(con, org.jooq.SQLDialect.POSTGRES);
>
>                 ret = exe.fetch("select * from shop.ip_security;");
>                 ResultSet rs = ret.intoResultSet();
>
>                 while (rs.next()) {
>                     System.Console.WriteLine(rs.getInt("class_id"));
>                 }
>             } catch (Exception ex) {
>                 System.Console.WriteLine(ex.Message);
>             }
>         }
>
> The only problem so far was that debugging crashed in XamarinStudio on my
> Mac 2 out of 4 times. I filed a bug on the IKVM bug tracker.
>
> This is the command line I used to compile the jars to an assembly:
> mono Downloads/ikvm-7.2.4630.5/bin/ikvmc.exe
> -out:/Users/matthias/Downloads/jOOQ-3.0.0-RC2-binaries-only/lib/jooq-3.0.0-RC2.dll
> -target:library
> /Users/matthias/Downloads/jOOQ-3.0.0-RC2-binaries-only/lib/*.jar
>
>
> Btw, could it be possible that post in this forum vanish from time to
> time? I'm pretty sure I posted in this thread before, but the message is
> not here anymore ...
>
>
> Am Dienstag, 5. März 2013 19:46:00 UTC+1 schrieb Lukas Eder:
>
>> Hello Miroslav,
>>
>> The obvious thing that comes to my mind is LINQ-to-SQL, although the LINQ
>> API only remotely resembles SQL, as there are a lot of concepts from C#
>> "leaking" into the LINQ-to-SQL API.
>>
>> Other than that, my marketing efforts have shown that there are at least
>> these libraries:
>> - http://typedquery.**sourceforge.net <http://typedquery.sourceforge.net>
>> - http://www.llblgen.com/ (commercial)
>>
>> Unfortunately, I don't have any .NET experience, so I don't really know
>> the above tools from a user perspective
>>
>> Help in porting jOOQ to C# (C#OOQ?) is very welcome, of course :-)
>>
>> Cheers
>> Lukas
>>
>>
>> 2013/3/5 Miroslav Dubovský <[email protected]>
>>
>>>  Are there comparable framework  for .Net  like JQOO ?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "jOOQ User Group" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jooq-user+...@**googlegroups.com.
>>>
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "jOOQ User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to