Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~539 People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums
Favorite Tags

3 Posted Topics

Member Avatar for SonxQ7

[QUOTE=SonxQ7;687360]Always get warning when using raw type Lists/Sets/Iterators etc. [code] public java.util.List /* <-- Warning here */ getUsersByAge(int minAage) { org.hibernate.Query q = session.createQuery("from User u where u.age >= :minAge"); q.setInteger("minAge", minAage); return q.list(); /* <-- Warning here */ } [/code] I've chaged this by [code] public java.util.List<User> getUsersByAge(int minAage) …

Member Avatar for vite
0
213
Member Avatar for SonxQ7

[QUOTE=SonxQ7;686549] Exception [code] log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. Exception in thread "main" org.hibernate.MappingException: Foreign key (FKE0AAC4D7AF0E5654:SNX_PHONE_NUMBERS [USER_ID,PHONE_TYPE])) must have same number of columns as the referenced primary key (SNX_USERS [user_id]) at org.hibernate.mapping.ForeignKey.alignColumns(ForeignKey.java:113) at org.hibernate.mapping.ForeignKey.alignColumns(ForeignKey.java:96) at org.hibernate.cfg.Configuration.secondPassCompileForeignKeys(Configuration.java:1296) at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1203) at …

Member Avatar for SonxQ7
0
211
Member Avatar for vite

Hi all Situation is: old motherboard don't have SATA connector and had plugged on it one HD on the primary IDE and one DVD drive on secondary IDE connector. I wanted to connect new SATA HD (WD 5000 AAKS ) and bought IDE-to-SATA adapter, plugged it on the primary IDE, …

Member Avatar for Freaktech
0
115

The End.