g*l
2 楼
有了spring/hibernate,还有人直接用JDBC写database application code吗?
s*e
4 楼
of course if you really care about your app performance.
ORM tools are never good for batch updates/insertions/deletions. They are
not designed to provide you performance. They are designed to simplify your
current and future development process.
ORM tools are never good for batch updates/insertions/deletions. They are
not designed to provide you performance. They are designed to simplify your
current and future development process.
g*g
6 楼
That's not exactly true. ORM allows a simple way to do caching,
that can reduce DB hits in many cases. Of course an ORM generated
SQL batch cannot beat carefully hand-written ones, but there's a
reason stored procesure is not popular these days.
your
【在 s******e 的大作中提到】
: of course if you really care about your app performance.
: ORM tools are never good for batch updates/insertions/deletions. They are
: not designed to provide you performance. They are designed to simplify your
: current and future development process.
that can reduce DB hits in many cases. Of course an ORM generated
SQL batch cannot beat carefully hand-written ones, but there's a
reason stored procesure is not popular these days.
your
【在 s******e 的大作中提到】
: of course if you really care about your app performance.
: ORM tools are never good for batch updates/insertions/deletions. They are
: not designed to provide you performance. They are designed to simplify your
: current and future development process.
s*e
8 楼
Well if that is the case you can write your own query object pattern with
cache to do it.
Did I mention SP? I did not get it.
cache to do it.
Did I mention SP? I did not get it.
r*l
16 楼
This always comes down to flexibility vs standard/convention. A real good
developer can take advantage of straight JDBC's flexibility and write good
code that outperforms Hibernate. However, real good developers are rare and
for most of us, using Hibernate will yield better results.
【在 g*****g 的大作中提到】
: That's not exactly true. ORM allows a simple way to do caching,
: that can reduce DB hits in many cases. Of course an ORM generated
: SQL batch cannot beat carefully hand-written ones, but there's a
: reason stored procesure is not popular these days.
:
: your
developer can take advantage of straight JDBC's flexibility and write good
code that outperforms Hibernate. However, real good developers are rare and
for most of us, using Hibernate will yield better results.
【在 g*****g 的大作中提到】
: That's not exactly true. ORM allows a simple way to do caching,
: that can reduce DB hits in many cases. Of course an ORM generated
: SQL batch cannot beat carefully hand-written ones, but there's a
: reason stored procesure is not popular these days.
:
: your
T*g
18 楼
don't think so. Take Hibernate for example, stateless session is
specifically designed for batch processing, which will by pass the session
level cache and second level cache.
your
【在 s******e 的大作中提到】
: of course if you really care about your app performance.
: ORM tools are never good for batch updates/insertions/deletions. They are
: not designed to provide you performance. They are designed to simplify your
: current and future development process.
specifically designed for batch processing, which will by pass the session
level cache and second level cache.
your
【在 s******e 的大作中提到】
: of course if you really care about your app performance.
: ORM tools are never good for batch updates/insertions/deletions. They are
: not designed to provide you performance. They are designed to simplify your
: current and future development process.
g*l
22 楼
有了spring/hibernate,还有人直接用JDBC写database application code吗?
s*e
24 楼
of course if you really care about your app performance.
ORM tools are never good for batch updates/insertions/deletions. They are
not designed to provide you performance. They are designed to simplify your
current and future development process.
ORM tools are never good for batch updates/insertions/deletions. They are
not designed to provide you performance. They are designed to simplify your
current and future development process.
g*g
25 楼
That's not exactly true. ORM allows a simple way to do caching,
that can reduce DB hits in many cases. Of course an ORM generated
SQL batch cannot beat carefully hand-written ones, but there's a
reason stored procesure is not popular these days.
your
【在 s******e 的大作中提到】
: of course if you really care about your app performance.
: ORM tools are never good for batch updates/insertions/deletions. They are
: not designed to provide you performance. They are designed to simplify your
: current and future development process.
that can reduce DB hits in many cases. Of course an ORM generated
SQL batch cannot beat carefully hand-written ones, but there's a
reason stored procesure is not popular these days.
your
【在 s******e 的大作中提到】
: of course if you really care about your app performance.
: ORM tools are never good for batch updates/insertions/deletions. They are
: not designed to provide you performance. They are designed to simplify your
: current and future development process.
s*e
26 楼
Well if that is the case you can write your own query object pattern with
cache to do it.
Did I mention SP? I did not get it.
cache to do it.
Did I mention SP? I did not get it.
r*l
30 楼
This always comes down to flexibility vs standard/convention. A real good
developer can take advantage of straight JDBC's flexibility and write good
code that outperforms Hibernate. However, real good developers are rare and
for most of us, using Hibernate will yield better results.
【在 g*****g 的大作中提到】
: That's not exactly true. ORM allows a simple way to do caching,
: that can reduce DB hits in many cases. Of course an ORM generated
: SQL batch cannot beat carefully hand-written ones, but there's a
: reason stored procesure is not popular these days.
:
: your
developer can take advantage of straight JDBC's flexibility and write good
code that outperforms Hibernate. However, real good developers are rare and
for most of us, using Hibernate will yield better results.
【在 g*****g 的大作中提到】
: That's not exactly true. ORM allows a simple way to do caching,
: that can reduce DB hits in many cases. Of course an ORM generated
: SQL batch cannot beat carefully hand-written ones, but there's a
: reason stored procesure is not popular these days.
:
: your
T*g
31 楼
don't think so. Take Hibernate for example, stateless session is
specifically designed for batch processing, which will by pass the session
level cache and second level cache.
your
【在 s******e 的大作中提到】
: of course if you really care about your app performance.
: ORM tools are never good for batch updates/insertions/deletions. They are
: not designed to provide you performance. They are designed to simplify your
: current and future development process.
specifically designed for batch processing, which will by pass the session
level cache and second level cache.
your
【在 s******e 的大作中提到】
: of course if you really care about your app performance.
: ORM tools are never good for batch updates/insertions/deletions. They are
: not designed to provide you performance. They are designed to simplify your
: current and future development process.
T*g
33 楼
If you really got lots of data, why you consider jdbc? Normally, Db provides
some tools to load the data from some specific format file automatically,
which will increase the performance dramatically.
some tools to load the data from some specific format file automatically,
which will increase the performance dramatically.
s*e
34 楼
批处理还是用Procedure方便,performance也好,就是多了之后维护太麻烦,尤其是有
人写的动辄几千行,就像一团乱麻那种,看着就头疼
provides
【在 T*********g 的大作中提到】
: If you really got lots of data, why you consider jdbc? Normally, Db provides
: some tools to load the data from some specific format file automatically,
: which will increase the performance dramatically.
人写的动辄几千行,就像一团乱麻那种,看着就头疼
provides
【在 T*********g 的大作中提到】
: If you really got lots of data, why you consider jdbc? Normally, Db provides
: some tools to load the data from some specific format file automatically,
: which will increase the performance dramatically.
相关阅读
any experience for fancy flash presentation?谁有这本书 "Absolute Java" second edition请问一个问题jconsole does't list any local java process on Windows xp有没有在NYC准备考SCJP和SCWCD的?刚去java版转了一圈 (转载)我发现J2EE的工作对英语要求比较高What A DESIGN!question about using Runtime.getRuntime.exec() in TomcatQ: load a profiler in Tomcat on Solaris请问有没有可能列出所有正在运行的java程序?Swing 高手们。有没有autocomplete 的dropdown list?请问Java如何实现对.jpg图片的缩放显示?有啥比较好的Java的Editor or Free IDE?web application 如何从数据库取数据?apache commons library 在 Mac Tiger 上工作正常吗?[合集] Java interview question, Thanks.JavaFX 如果实现文章分页的HTML代码匹配?Java EE vs. Core Java, 该选哪个呢?