How can I see how a JPA EntityManager is loaded
up vote
0
down vote
favorite
I'm totally new to the world of JPA, and I am navigating an existing codebase. I have
@PersistenceContext(unitName = "markets")
private EntityManager marketsEntityManager;
I believe that spring is injecting the instance of marketEntityManager. How can I see how this is configured?
Basically, I'm tryingto understand how objects in this cache are instantiated from the database. Ie, what tables / views / sprocs / SQL are being called on the database.
jpa spring-data-jpa
add a comment |
up vote
0
down vote
favorite
I'm totally new to the world of JPA, and I am navigating an existing codebase. I have
@PersistenceContext(unitName = "markets")
private EntityManager marketsEntityManager;
I believe that spring is injecting the instance of marketEntityManager. How can I see how this is configured?
Basically, I'm tryingto understand how objects in this cache are instantiated from the database. Ie, what tables / views / sprocs / SQL are being called on the database.
jpa spring-data-jpa
you look in the log of the JPA provider
– Billy Frost
yesterday
Unfortunately, I don't have an environment that I can easily spin up. Is it possible to tell from the codebase please?
– ThatDataGuy
yesterday
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm totally new to the world of JPA, and I am navigating an existing codebase. I have
@PersistenceContext(unitName = "markets")
private EntityManager marketsEntityManager;
I believe that spring is injecting the instance of marketEntityManager. How can I see how this is configured?
Basically, I'm tryingto understand how objects in this cache are instantiated from the database. Ie, what tables / views / sprocs / SQL are being called on the database.
jpa spring-data-jpa
I'm totally new to the world of JPA, and I am navigating an existing codebase. I have
@PersistenceContext(unitName = "markets")
private EntityManager marketsEntityManager;
I believe that spring is injecting the instance of marketEntityManager. How can I see how this is configured?
Basically, I'm tryingto understand how objects in this cache are instantiated from the database. Ie, what tables / views / sprocs / SQL are being called on the database.
jpa spring-data-jpa
jpa spring-data-jpa
asked yesterday
ThatDataGuy
425417
425417
you look in the log of the JPA provider
– Billy Frost
yesterday
Unfortunately, I don't have an environment that I can easily spin up. Is it possible to tell from the codebase please?
– ThatDataGuy
yesterday
add a comment |
you look in the log of the JPA provider
– Billy Frost
yesterday
Unfortunately, I don't have an environment that I can easily spin up. Is it possible to tell from the codebase please?
– ThatDataGuy
yesterday
you look in the log of the JPA provider
– Billy Frost
yesterday
you look in the log of the JPA provider
– Billy Frost
yesterday
Unfortunately, I don't have an environment that I can easily spin up. Is it possible to tell from the codebase please?
– ThatDataGuy
yesterday
Unfortunately, I don't have an environment that I can easily spin up. Is it possible to tell from the codebase please?
– ThatDataGuy
yesterday
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53409037%2fhow-can-i-see-how-a-jpa-entitymanager-is-loaded%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
you look in the log of the JPA provider
– Billy Frost
yesterday
Unfortunately, I don't have an environment that I can easily spin up. Is it possible to tell from the codebase please?
– ThatDataGuy
yesterday