Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Arved Sandstrom" Subject: Re: Generating the Entity Message-ID: X-Comment-To: comp.lang.java.databases Newsgroups: comp.lang.java.databases In-Reply-To: <491f0796$0$90274$14726298@news.sunsite.dk> References: <491f0796$0$90274$14726298@news.sunsite.dk> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 29 Date: Wed, 27 Apr 2011 15:23:19 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303917799 96.60.20.240 (Wed, 27 Apr 2011 10:23:19 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:23:19 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.databases:370 To: comp.lang.java.databases "Arne Vajhoj" wrote in message news:491f0796$0$90274$14726298@news.sunsite.dk... > Thufir wrote: >> On Tue, 11 Nov 2008 20:55:27 -0500, Arne Vajhoj wrote: >>> Except that in Java SE context you do not use JNDI. >>> >>> Which was what this thread started with. >> >> That's quite helpful to know, that JNDI doesn't apply to JSE. Why would >> Netbeans prompt for JNDI if it's a JSE app? IDE specific question, I >> know. > > I can not recreate your problem in NB 6.1. > > Arne Nor can I. Using NB 6.1, SQL Server 2008, and a database I had kicking around. Right-click on the new Java Application project, select New Persistence Unit, and it asks simply for the connection URL once you've picked the DBMS type. I imported the tables as entities just to make sure all was well. AHS --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24