Skip to content

The SQL Centric Database Access Library for Java

Notifications You must be signed in to change notification settings

watanabeshuji/mirage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mirage-SQL

Mirage is an easy and powerful SQL centric database access library for Java which provides the dynamic SQL template by plain SQL.

SELECT * FROM BOOK
/*BEGIN*/
  WHERE
  /*IF author != null */
        AUTHOR = /*author*/'Naoki Takezoe'
  /*END*/
  /*IF minPrice != null */
    AND PRICE >= /*minPrice*/20
  /*END*/
  /*IF maxPrice != null */
    AND PRICE <= /*maxPrice*/100
  /*END*/
/*END*/
ORDER BY BOOK_ID ASC

See details at the Wiki.

About

The SQL Centric Database Access Library for Java

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%