从休眠转到普通的jdbc [英] Moving from hibernate to plain jdbc

查看:103
本文介绍了从休眠转到普通的jdbc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始从事Java和J2EE工作,并具有与JDBC和休眠相关概念的理论知识。我在工作中给了一个任务来将现有的hibernate连接转换为普通的JDBC。任何人都可以提出最简单的方法来做到这一点。实际上,我必须创建所有的表格。但是我无法找到它们。请帮助。

I have recently started working in Java and J2EE and have theoritical knowledge of concepts related to JDBC and hibernate. I am given a task at my work to convert the existing hibernate connectivity to plain JDBC. Can anybody suggest the simplest way to do it.Actually all tables that i have to work on are created. But I am not able to locate them.Please help.

推荐答案

您可以使用Hibernate Mapping中已有的所有POJO,按照活动记录等数据模式重构它们。

You can use all the POJO you already have from Hibernate Mapping and refactor them following some data pattern such as Active Record.

这篇关于从休眠转到普通的jdbc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆