There are some common database query logics in our project. Should these query logics be placed in a public jar? What are the mainstream practices in the industry?