mirage-sql / mirage

Mirage-SQL - the SQL Centric Database Access Library for Java
Apache License 2.0
59 stars 21 forks source link

Translate and document the SQL Parser. #3

Open aionescu-zz opened 11 years ago

aionescu-zz commented 11 years ago

Please translate and document at least the SQL parser part of Mirage.

It looks like a very interesting functionality that might have use in many projects.

Thank you very much.

aadrian commented 11 years ago

+1

takezoe commented 11 years ago

What kind of document do you need? For example, SQL syntax which is supported in Mirage? or How to extend SQL syntax?

aadrian commented 11 years ago

What kind of document do you need?

The JavaDocs of the parser classes in English please. Also since the parser is hand made (not generated from a grammar), a little more explanation would be helpful.

SQL syntax which is supported in Mirage?

That would be very useful.

or How to extend SQL syntax?

This would be even better :).

Thanks in advance.

takezoe commented 11 years ago

The JavaDocs of the parser classes in English please. Also since the parser is hand made (not generated from a grammar), a little more explanation would be helpful.

OK, I'll make effort to fill Javadoc.

SQL syntax which is supported in Mirage?

See the following page about syntax: http://amateras.sourceforge.jp/site/mirage/2waysql.html

amanu commented 11 years ago

@aionescu

Please translate and document at least the SQL parser part of Mirage.

+1

It looks like a very interesting functionality that might have use in many projects.

true. we use that part quite allot to avoid the PreparedStatement#setXXX(int, XXX) horrible inflexible and very error prone syntax.

@takezoe

SQL syntax which is supported in Mirage?

See the following page about syntax: http://amateras.sourceforge.jp/site/mirage/2waysql.html

that's very useful, and we were using it from day one.

or How to extend SQL syntax?

we would need that very much: would like to extend the statements with some formatted headers. since we have so many statements now, it's hard to differentiate them only by the file name, so would like to put that metadata there and parse it too.

regards.

werne commented 9 years ago

+1

hansgru commented 9 years ago

+1 any news regarding the docs?