Advertisement
Coriic

Untitled

Jan 13th, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.47 KB | None | 0 0
  1. public List<pl.edu.agh.kis.florist.db.tables.pojos.FolderMetadata> getFoldersContainedRecursively(String folderPath){
  2.         try (DSLContext create = DSL.using(DB_URL)){
  3.             return create.select().from(FOLDER_METADATA).
  4.                     where(FOLDER_METADATA.PATH_DISPLAY.contains("folderPath")).andNot(FOLDER_METADATA.PATH_DISPLAY.equal(folderPath)).
  5.                     fetch().into(pl.edu.agh.kis.florist.db.tables.pojos.FolderMetadata.class);
  6.         }
  7.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement