java - Can a transaction have many threads? -
Normally We have some business logic that has a bottle neck Due to a set of business logic data within a transaction (read only), it queries the database, executes it, and returns an object. In a given request, it should be done multiple times with different parameters. Can we break every business logic call into a separate thread? Specially EJB object (part of an HTTP request on a JBoss application server) of objects that apply to the refundable - Creates (call system called business logic method) Using an ExecutorService Each Refund object invokes the business logic which uses a PreparedStatement POJOs We use a question in the PostgreSQL database - Resolverized Objects from Objects that come from Postgrassel - Haman After this we get errors of postgres, whose names portals do not exist, whenever we limit our thread to one: Previous> Error: Cursor "& lt; Unknown Portal 777 & gt;" Does not exist STATEMENT: FETCH ALL IN "& lt; anonymou...