hibernate find method ? Let's say I have Person entity which has Company entity(FK). And I have a function that takes company type as an argument.Is it better to use public void persistEntity(Short type){ Company company = new Company(); company.setType((short)1); Person person = new Person(); person... 4 Jun 2010 19:11
including apache http components in my program i am trying to run basic program for apache http components and i cannot for the life of me figure out how to include this library within my program. if someone is willing to help me while i struggle through this and just help me solve this question it would be largely appreciated. i honestly have no idea what... 3 Jun 2010 23:24
tomcat classloader Hello, I encounter a ClassNotFoundException when loading Oracle driver in a servlet (Tomcat 5.5 JDK1.4.2). But my JAR is well placed in the WEBINF/lib folder. When I move the Class.forname from my servlet to a JSP page (wich calls the JSP this works perfectly. So Tomcat seems to have class loader in servlet... 13 Jun 2010 19:23
(Should be in an FAQ). Reccomended books / tutorails for totalnewbies? Mike Barnard wrote: I'm in the UK, employed with a family so have little time for college courses. Do you have any coursework or experience programming? This will make a difference in what we recommend. Greenhorns need some basic programming knowledge, which I'd have to think about how to proceed. ... 4 Jun 2010 05:55
(Should be in an FAQ). Reccomended books / tutorails for total newbies? Hi. I'm interested in learning about Java programming. I'm suprised on searching through this forum that there seems to be no other "how..." threads so I'll start one. I'm in the UK, employed with a family so have little time for college courses. Not that I've found any near me anyway. I want to write a deskt... 4 Jun 2010 04:50
Call for Papers: World Congress on Engineering and Computer Science WCECS 2010 CFP: World Congress on Engineering and Computer Science WCECS 2010 Draft Paper Submission Deadline: 2 July, 2010 Camera-Ready Papers Due & Registration Deadline: 30 July, 2010 WCECS 2010: San Francisco, USA, 20-22 October, 2010 http://www.iaeng.org/WCECS2010 The WCECS 2010 is organized by the International Assoc... 3 Jun 2010 07:49
Simple hack to get $500 to your home. Simple hack to get $500 to your home at http://dailyupdatesonly.tk Due to high security risks,i have hidden the cheque link in an image. in that website on left side below search box, click on image and enter your name and address where you want to receive your cheque.please dont tell to anyone. ... 2 Jun 2010 14:14
Entity Context has all the information I read , Entity Context has all the information that an Entity bean would need from a container . Could you please tell what kind of information Entity bean would need from a container ? Example please. ... 2 Jun 2010 19:48
Should -Xmx be a multiple of -Xms? Hello, A colleague mentioned that he'd heard (from this guy's cousin's mechanic's guy who he met in a bar's grandfather's dealer's sysop) that the JVM requests memory from the OS in chunks of the size of -Xms, and that you should therefore always set -Xmx to be a whole multiple of -Xms, otherwise it would ne... 3 Jun 2010 02:23
Serious concurrency problems on fast systems I've been assisting in load testing some new high performance servers running Tomcat 6 and Java 1.6.0_20. It appears that the JVM or Linux is suspending threads for time-slicing in very unfortunate locations. For example, a thread might suspend in Hashtable.get(Object) after a call to getProperty(String) on t... 12 Jun 2010 23:40 |