mallikarjun dontamsetti wrote:Thanks guys for reply. And i prefer DB Change. and thing i need some clarity. If one user has multiple skills i think it will be stored like this
when i get the data using joins then is it going to be a performance issue?
Tatiana Vorobeva wrote:Hm.
I've found these docs: http://docs.jboss.org/hibernate/core/3.6/javadocs/org/hibernate/Criteria.html#createCriteria(java.lang.String)
So, try to use "com.test.Student.school" (where "com.test" = Student's class package) instead of "school"?
P.S.: maybe you know some good docs for learning how to use Criteria? I've started to learn Hibernate and want to read about Criteria.
mallikarjun dontamsetti wrote:if there are more than 10000 employee the data base table has 10000X10=100000 like it is going to be difficult. so please help me in this.
Tatiana Vorobeva wrote:I'm not a specialist on this theme, just one question (sorry, if it's stupid):
Why do you use "Student.class" for the first criteria and simple String "school" in the second?
naveen yadav wrote:
after reading online about the working of Tomcat , i am developing a servlet container for servlet 2.3 specification.
i have created a Request class implementing the javax.servlet.ServletRequest interface. this interface has method public java.lang.String getRealPath(java.lang.String path) which is Deprecated.
when i implements getRealPath(String ) i get warning that : java uses or overrides Deprecated api
what should i do to remove that warning ?
mallikarjun dontamsetti wrote:
i don't get you ..
Anirban D Jumy wrote:
Suppose three columns are there id, fld1, fld2
Values are there 123, aaaa, ssss//123, wwww, ddddd// 123, zzzz, rrrrr
Now when runing the program I am getting aaaa, aaaa, aaaa instead of aaaa, wwww, zzzz
Pawan Komaram wrote:Still my question is not answered. I am talking something like Man-in-the-Browser attack by just sending some spam or using some other technique. If the session Id is hijacked by any of the mechanism (by social engineering etc), is there a way to identify the attacker and ivalidate session.
Here the point is not how to prevent the session id hijacking but after hijack has happend, how can we identify that a request is not coming from the real user.
amit punekar wrote:Hello,
Define the log category explicitly for your class or the package in which that class resides. Package will be a better approach so that you can turn debug on and off at package level.