ParentFull threadskittles·You are assuming that the Java code is query logic instead of pure business logic. Many people try to do too much in SQL.View on HN