开发者

How does Hibernate use JDBC?

I know that Hibernate uses JDBC behind the scenes, but how 开发者_JS百科does it do this/ where does it do this?


Hibernate uses JDBC to connect to the database and execute the dynamic SQL that it generates.

Hibernate is nothing more than a SQL generation engine - it uses your objects and mappings to generate SQL for you instead of making you write it by hand.

Once it does that, everything is the same as if you had written the SQL yourself.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜