Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Steve Newsgroups: comp.lang.java.help Subject: Re: Doing JDBC code in a less unwieldy way? Date: Fri, 19 Aug 2011 19:50:16 -0400 Organization: A noiseless patient Spider Lines: 28 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 19 Aug 2011 23:50:17 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="uFlR82DOgPsbjAnI7EOTCg"; logging-data="16709"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19J/nEQEwHAx9aHifLHdShWrpsV0XMIEqw=" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 In-Reply-To: Cancel-Lock: sha1:MN4OzD/hXzEkTDCHmwazR09RLag= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.help:956 On 19/08/11 07:59, Arved Sandstrom wrote: > My advice to the OP is to try to convince his management. It's not like > these JPA providers are all unsupported pieces of software. I'm the OP. The manangement has the impression that hibernate makes sense for large jobs, with large databases and that hibernate has a steep learning curve. Right now they are looking to move some functionality over from a poorly written Java web app for updating and inserting into about a half dozen tables in an Oracle db. The JDBC is unweildy in that the tables have many fields and processing each into a PreparedStatement is messy and time consuming. They are thinking that for these few tables it might just be quicker to do them by hand, than take time out to learn hibernate before they get time to really slow down to learn a new system (hibernate). I don't have any experience with hibernate so that approach makes sense if learning hibernate is that involved. So how about it, time-wise ( put aside issues of future maintenance ), for a half dozen oracle tables, are we better off coding some JDBC by hand, as voluminous as it may be.........or can hibernate for our purposes be picked up in a few days? Thanks in advance for the opinion. Steve