Hello!

Im using OpenJPA with Spring transactional management and EntityManager injection to DAO under Postgresql 8.2.1

Seems when new EntityManager is created those queries are executing to database

SELECT t.typlen FROM pg_catalog.pg_type t, pg_catalog.pg_namespace n WHERE t.typnamespace=n.oid AND t.typname='name' AND n.nspname='pg_catalog'
SELECT setting FROM pg_catalog.pg_settings WHERE name='max_index_keys'


Can anyone help with this issue ?
My question is can those queries be removed by adjusting some settings in JPA configuration ?

--
Best Regards
Evgeny K. Shepelyuk

Reply via email to