Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public List<pl.edu.agh.kis.florist.db.tables.pojos.FolderMetadata> getFoldersContainedRecursively(String folderPath){
- try (DSLContext create = DSL.using(DB_URL)){
- return create.select().from(FOLDER_METADATA).
- where(FOLDER_METADATA.PATH_DISPLAY.contains("folderPath")).andNot(FOLDER_METADATA.PATH_DISPLAY.equal(folderPath)).
- fetch().into(pl.edu.agh.kis.florist.db.tables.pojos.FolderMetadata.class);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement