現在大部份人都習慣先想table structure /ERD先,再用ERD去generate 番objects 出來。但這樣做你在想data s ...
drupalspring 發表於 2013-10-11 14:50


This is better if the programmer have to handle all the DB operations too.

But, if you have a DBA/DB developer in the team, have him set up all the tables/constraint/indices/triggers will save you a lot of time.

TOP

本帖最後由 Stiggy930 於 2013-10-11 15:54 編輯
D 人話hibernate ORM 大而冇當,其實我個人看 如果你PROJECT 係支援兩三隻DATABASE。

    只要在hi ...
Flower 發表於 2013-10-11 15:30


Using Spring to config is already simple enough regardless of JPA implementation.

I guess the web app that you have worked on do not really care about performance?

TOP

回復 139# Stiggy930


    Do you feel there are significant performance improvement after switching to EclipseLink? And for example , in which cases will Hibernate generate more queries than EclipseLink?

Unless there are significant performance improvement after switching to EclipseLink , I do not suggest to switch as I know the effort will be very large.

TOP

提示: 作者被禁止或刪除 內容自動屏蔽

TOP

回復  Stiggy930


    Do you feel there are significant performance improvement after switching to  ...
drupalspring 發表於 2013-10-11 15:53


There was improvement. But was not as big as our team hoped. The case we see most performance improvement is the one to many cases.

But, we already done the migration. So what is done is done.

But, thru the migration, we lowered our memory usage as we were no longer using legacy JBoss.
However, this may related to fewer queries generated.

TOP

提示: 作者被禁止或刪除 內容自動屏蔽

TOP

本帖最後由 drupalspring 於 2013-10-11 16:12 編輯

回復 145# Stiggy930


    Performance improvement for  one to many cases ? From my experience , it seems that it may be related to the famous "N+1" problem due to developer 's misunderstanding. If yes , it can be fixed using the "fetch join". Anyway , I also agree that Spring stack has lower memory usage when compared to the legacy JBoss.

TOP

回復  Stiggy930


    Performance improvement for  one to many cases ? From my experience , it seem ...
drupalspring 發表於 2013-10-11 16:09


As I am no loner working for that company, I can't tell you anymore, LOL.

But, we did see improvement after the migration to eclipseLink.

TOP

請自行分析。

    *COPY LINK 希望D 人唔好再講偷LINK等無聊廢話. ...
Flower 發表於 2013-10-11 15:56


That link I have read many many times.  There was no Oracle 10g in the test.

http://www.jpab.org/All/All/All.html

But if I remember correctly, this test is done during 2010 or 2011. The data is outdated now.

TOP

現在大部份人都習慣先想table structure /ERD先,再用ERD去generate 番objects 出來。但這樣做你在想data s ...
drupalspring 發表於 2013-10-11 14:50

orm 真係一個偉大發明,而當可以由orm 出返張圖黎俾你去吹水話俾人知套野係幾勁仲偉大

TOP