Hi, I looked everywhere for solution of my issue but unfortunatelly didn't find it.
Ok, I have hibernate, spring, oracle. I have DB and many users who use this DB. This database is made in the way that users see only allowed to them information.
Each user has its own username/password. I'm trying to build spring based hibernate JPA application which will allow all of these users connect to DB and perform actions (CRUD). In case of only one user it's clear, I'm using
Code:
<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" > and
<bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager" >
but in case of many users they are not good, because I cannot change username/password at runtime.
Maybe it's not correct place where ask this question, maybe Spring forum is the right place, but currently I'm looking for solution how to implement it using hibernate/JPA, after that I'll look how to attach it to spring.
Thanks.