Re: JQOO for .Net ?

1,311 views
Skip to first unread message

Lukas Eder

unread,
Mar 5, 2013, 1:46:00 PM3/5/13
to jooq...@googlegroups.com
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://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ý <miro...@gmail.com>
 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.
 
 

Matthias Fuchs

unread,
Mar 12, 2013, 3:12:21 PM3/12/13
to jooq...@googlegroups.com
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(conorg.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 ...
jooq-3.0.0-RC2.dll.zip

Lukas Eder

unread,
Mar 13, 2013, 2:40:07 PM3/13/13
to jooq...@googlegroups.com
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:

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 <meiste...@gmail.com>

Matthias Fuchs

unread,
Mar 14, 2013, 7:00:08 AM3/14/13
to jooq...@googlegroups.com
Haha ;-)

Ja .NET and Java have many similarities ;-)
But ist also has some syntactic surgar, e.g.:
.NET: var test = new List<String>();
vs
Java: List<String> test = new ArrayList<>();

var still provides static typesafety!

And my favourite: the async keyword. No more worker threads and ugly thread synchronization code. sudo dpkg-reconfigure lightdm

Regarding the missing post: I think google groups automatically uses my gmail account as I'm always logged in ... really strange ;-)

Lukas Eder

unread,
Mar 16, 2013, 6:11:22 AM3/16/13
to jooq...@googlegroups.com
I wouldn't compare jOOQ with EF, as EF is really focused on mapping tables to "entities" in a similar fashion as JPA does it. Except that EF is much better integrated with the .NET platform and the LINQ libraries through LINQ-to-EF...

2013/3/14 funar fiif <funa...@gmail.com>
Entity Framework??:)

mr.f.s...@gmail.com

unread,
May 15, 2020, 4:56:29 PM5/15/20
to jOOQ User Group
Hello Lukas,

since I was using JOOQ a lot in Java Projects and now developing a .NET Core Platform / Framework, I would like to help porting jOOQ to .NET.

Is this still a thing?

Kind regards
Frithjof


On Tuesday, March 5, 2013 at 7:46:00 PM UTC+1, Lukas Eder wrote:
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://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ý <miro...@gmail.com>
 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...@googlegroups.com.

Lukas Eder

unread,
May 16, 2020, 5:45:16 AM5/16/20
to jOOQ User Group
Hi Frithjof,

There are no such plans right now. Come back to Java! :)

Cheers,
Lukas

To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/e3086de8-00e6-4e5d-b60e-b16aa3f26dc8%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages