Hibernate implementation. Are we paying the reflection penalty?

后端 未结 5 1969
栀梦
栀梦 2021-01-06 01:51

Long time ago, I was creating a mini ORM using reflection.

While reading about reflection I got a similar answer like this:

Java Reflection Performance

5条回答
  •  -上瘾入骨i
    2021-01-06 02:14

    Doesn't NHibernate cache the class info gathered through reflection so you only pay the penalty the first time?

提交回复
热议问题