techyworld 0 Junior Poster in Training

hello everyone, am here to solve a problem and i need advice from u ppl. i have my database consist of 7 tables which generates a java web application. (Spring,Jsf,primefaces,java) when the user login, only the data for that particular user from the tables should be displayed. I was thinking that whenever a user log in, the application creates a virtual database in memory and in this DB, it will contain only the data correspond to that particular user. and when the user logout, the DB is destroyed. is it possible to do it with the technologies am using to develop the apps? (Spring, JSF,primefaces, java)