JPA, Hibernate and other tools like that seem to (desperately) try to hide the fact that there is an rdbms underneath. Did anyone here try not having one...
http://www.db4o.com/about/news/release/2006_09_28.aspx /Anders Korbinian Bachl wrote: > Hi All, > > since im working now several days with NB and JPA1.0 i think i can give > some hints.: > > First: DONT USE NB 5.5 BETA 1 or 2, use the DEV daily build instead ! - > best the one from 29 09 2006 or 30 09 2006, as the Beta's have problems > in creating entitys from DB in case of Many to Many relation and > additional paramters within as well as some other flaws... > > if you use the dev daily build... you will just want to forget eclipse > and dali ! - its so smooth, fast.. in fact, the time you need to > download and install the 200 MB + eclipse and plugins, youre already > running in NB (small 42 MB) and also have your first JPA already running.. > > however, NB 5.5 has 1 big flaw: the java editor... compared to eclipse > its abaout 1 year behind, very sad IMHO. > > some things you also might want to remind when working with JPA: > - currently prefer Toplink Essentials over Hibernate, as Hibernate is > only RC and is very unstable > - NB55: when entitys are created, the EJB QL will take the parameters > from the Java environment, not the DB, as well as vars are written in > lowercase even if they are uppercase in DB: > > e.g: > > @Entity > public class Foo { > > private xxx Bar; <-- even this is treated as lowercase !!! > > setBar( Bar) {} > getBar () {} > } > > -> query might be: "delete c from Foo c where c.bar = 'something'" > and also dont forget to use ..executeQuery() in case of bulk operations :) > > - currently PostgreSQL's serials are a problem, as they arent used by NB > entity creation... means much handwork. > > - NB 5.5 dev has also still not the ability to autoamticall do more than > 1 persistence Unit, if you need more (like me) you have to edit the > persistence.xml by yourself > > - right click on project and "Add Persistence" will give you a very fast > start - not elegant, but hey, you see how it works > > - same is with EJB3 code for obtaining JNDI :) - ok, this is not hard, > but hey, most programmers are lazy... > > Regards, > > Korbinian > > > ------------------------------------------------------------------------ > *Von:* [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] *Im Auftrag von > *Ayodeji Aladejebi > *Gesendet:* Mittwoch, 27. September 2006 13:01 > *An:* wicket-user@lists.sourceforge.net > *Betreff:* Re: [Wicket-user] Database Integration With Wicket > > Why should anybody be using eclipse for JPA rather than NB5.5. Oh my > God you cant have an idea of how much fun you are missing. > > With NB5.5 i configured and setup Persistence within my wicket > application in minutes and my persistence is working to fine. Not > even with the annotation support in my entity beans. i enjoyed the > look on my teams faces. > > Once again thank you Gustavo for hinting this. > > and like igor said, i just subclassed the WebRequestCycle to > initialize my EntityManagers and boom everything works > > Please if you are doing persistence in your wicket applications, > give NB5.5 a try, (i am not referring to guys that can handcode the > entire thing in emacs oh) but its just too lovely infact am stuck to > it like ants on sugar now :) > > Infact nobody can preach eclipse to me on this...yu see in my > country, internet access is not yet so fast so i dont have all the > bandwidth and project time to be looking for plugin left, right and > center...whatever works out of the box is just fine > > On 9/25/06, *Gustavo Santucho* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > Then if you use eclipse you look at Dali > > I strongly recommend Netbeans for JPA development. > For a comparison, check out > http://blogs.sun.com/klingo/entry/jpa_netbeans_5_5_vs > <http://blogs.sun.com/klingo/entry/jpa_netbeans_5_5_vs> > I use JPA and both Eclipse and Netbeans on a daily basis. > > ----- > Gustavo. > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance > to share your > opinions on IT & business topics through brief surveys -- and > earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > <mailto:Wicket-user@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > -- > "It takes insanity to drive in sanity" - Me > > Aladejebi Ayodeji A., > DabarObjects Solutions > Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > Mobile: +234 803 589 1780 > Web: www.dabarobjects.com <http://www.dabarobjects.com> > > Community: > www.cowblock.net <http://www.cowblock.net> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > -- http://ojalgo.org/ Mathematics, Linear Algebra and Optimisation with Java ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user