Java数据库与映射? [英] Java Database with Mapping?

查看:188
本文介绍了Java数据库与映射?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要做一个数据库,我需要使用映射(这不是JAVA EE)我只是说JavaSE不是EE,我想知道我将如何实现我所做的这些类? (用户,联系信息,员工,FinanceTeam,SystemAdmin)如何将这些对象的数据传输到数据库?地图如何工作?一个BASIC数据库教程将帮助我很多,谢谢Btw如果你好奇我使用MySQL为我的数据库

解决方案

你需要一个ORM(对象关系映射)和Hibernate是最常用的,Hibernate也可以独立使用,不仅在Java EE环境中。





JavaBrains视频教程是34课,说明很好,易于理解,我强烈推荐你。作者不是一个英语母语者,所以如果你看过去的口音,这是一个很好的内容。


I am going to make a database where I need to make use of mapping, (THIS IS NOT JAVA EE) I am speaking of JavaSE only not EE, I was wondering how would I implement these class I made? (User,Contactinformation,Employee,FinanceTeam,SystemAdmin) how will I transfer the datas of these objects into the database? and how does mapping work? a BASIC Database tutorial will HELP me a lot, Thanks Btw if you are curious I am using MySQL for my database

解决方案

You need an ORM (Object-Relational Mapping) and Hibernate is the most commonly used, Hibernate can also be used standalone, not only in Java EE environment.

JavaBrains video tutorial is 34 lessons, well explained and easy to understand, I highly recommend you. The author is not a native English speaker, so if you look past the accent, it's a great content.

这篇关于Java数据库与映射?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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