您的数据库类有两个较为方便的方法。
设置数据库类路径以包括这个JAR文件。
接下来,编写一个常规的数据库类,然后再把它修改成动态的。
Next, write a conventional database class that you will then modify to become dynamic.
本演示中包含的Derby数据库类是 10.2alpha版,不应将其用于生产环境。
The Derby database classes contained in this demo are an alpha version of 10.2 and should not be used in a production environment.
您可以在有框架时或无框架时使用数据库类。
You can use the database classes with the framework or without it.
未来的更新将引入额外的数据库类等实用功能。
Future updates will introduce additional database categories and other useful features.
数据库类支持具有ODBC驱动程序的任何数据源。
The database classes support any data source for which you have an ODBC driver.
通过数据库类,可以使用记录集对象来选择和访问结果集。
With the database classes, you use a recordset object to select and access the result set.
至于ODBCAPI,数据库类也提供了同样的灵活性。
The database classes give you the same flexibility with regard to the ODBC API.
数据库类不直接支持DDL,但您仍然可以在运行时写代码以将新列动态绑定到记录集。
The database classes do not support DDL directly, but you can still write code to bind a new column to your recordset dynamically, at run time.
但是,倘若是将特定的表空间和索引指派给那些缓冲池,那么这些因素又可以看作是数据库设计一类的因素了。
But when assigning specific table Spaces and indexes to those buffer pools, that could be viewed somewhat as a database design consideration.
华盛顿史密森学会的昆虫学家特德·舒尔茨认为蚁类数据库“非常有价值”。
Ted Schultz, an entomologist at the Smithsonian Institution in Washington, said the ant database was "really valuable."
'lazyloading '告知NHibernate不要从数据库表中加载这个类对象,直到程序中需要访问这个对象的数据时才加载。
'Lazy loading' tells NHibernate not to load an object from the database until the application needs to access its data.
清单2显示了这个数据库封装类的代码。
清单2显示了图书表的简单的数据库访问类。
Listing 2 shows a simple database access class for the book table.
健康指示器可以测定某些特定数据库对象类的状态。
A health indicator measures the health of some particular class of database objects.
按信息来源分组(实例:访问已知数据库的类)。
Grouping by information source (example: the classes that access a given database).
例如,不要在数据库模式或类名称中使用客户名称。
For example, don't use the customer name in database schema or class names.
估计您每天能编写一个数据库访问类并完成其单元测试,因此,150 个表要用 150天的时间。
You estimate a day to write each database access class and unit test it, so 150 tables at one table per day is 150 days.
provider包定义一些允许应用程序读取大量内置Android数据库的类和接口。
The package android.provider defines classes and interfaces that allow applications to read many built-in Android databases.
它允许您定义与数据库表对应的类。
It lets you define classes that correspond to the tables of a database.
例如,提供了表示数据库、视图和文档的类。
For instance, there are classes to represent databases, views, and documents.
Ajax请求受到一个PHP驱动程序页的保护,该页先确保请求有效,然后将其传递到一个处理该请求的数据库包装类。
The Ajax requests are fielded by a PHP driver page, which makes sure that the request is valid and then passes it onto a database wrapper class that handles the request.
Topic是一个表示Discussion数据库中主题的类。
Topic is a class that represents a topic in the Discussion database.
我们还增加了一个类映射数据库。
表名称:类代表的数据库表名称。
Table name: the name of the database table represented by the class.
这个实体类如何与数据库联系起来?
该查看器显示了为数据库池示例加载的所有类。
The viewer displays all the classes loaded for the database pool sample.
如果查看清单2,您可以轻松地看到底层数据库模式与dao类之间的紧密耦合。
If you look at Listing 2, you can easily see the tight coupling between the underlying database schema and the DAO classes.
cargo还可能是数据库连接、复杂的类实例或带有几个项的列表。
Cargo might also be a database connection, a complex class instance, or a list with several items in it.
应用推荐