Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int getLineIdByName(final String lineName) {
- Line line = new Select()
- .from(Line.class)
- .where(Condition.column(Line_Table.line.getNameAlias()).eq(lineName))
- .querySingle();
- return line.getId();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement