英语和计算机关系论文,关于计算机专业的毕业设计论文英文英语外文文献翻译成品资料:数据库和Jython:对象关系映射ORM和JDBC使用(中英文双语对照).docx...

本文是中英对照毕业设计论文外文文献翻译,下载后直接可用!省去您找文献、pdf整理成word以及翻译的时间!一辈子也就一次的事!

文献引用作者出处信息:Josh Juneau, Jim Baker, Victor Ng, Frank Wierzbicki, Leo Soto Mu?oz The Definitive Guide to Jython Python for the Java Platform,2020(如觉得年份太老,可改为近2年,毕竟很多毕业生都这样做)

英文5408单词,32008字符(字符就是印刷符),中文8566汉字。(如果字数多了,可自行删减,大多数学校都是要求选取外文的一部分内容进行翻译的。)

Databases and Jython: Object Relational Mapping and Using JDBC

In this chapter, we will look at zxJDBC package, which is a standard part of Jython since version 2.1 and complies with the Python 2.0 DBI standard. zxJDBC can be an appropriate choice for simple one-off scripts where database portability is not a concern. In addition, it’s (generally) necessary to use zxJDBC when writing a new dialect for SQLAlchemy or Django. (But that’s not strictly true: you can use pg8000, a pure Python DBI driver, and of course write your own DBI drivers. But please don’t do that.) So knowing how zxJDBC works can be useful when working with these packages. However, it’s too low level for us to recommend for more general usage. Use SQLAlchemy or Django if at all possible. Finally, JDBC itself is also directly accessible, like any other Java package from Jython. Simply use the java.sql package. In practice this should be rarely necessary.

The second portion of this chapter will focus on using object relational mapping with Jython. The release of Jython 2.5 has presented many new options for object relational mapping. In this chapter we’ll focus on using SQLAlchemy with Jython, as well as using Java technologies such as Hibernate. In the end you should have a couple of different choices for using object relational mapping in your Jython applications.

ZxJDBC—Using Python’s DB API via JDBC

The zxJDBC package provides an easy-to-use Python wrapper around JDBC. zxJDBC bridges two standards:

?JDBC is the standard platform for database access in Java.

?DBI is the standard database API for Python apps.

ZxJDBC, part of Jython, provides a DBI 2.0 standard compliant interface to JDBC.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值