[How to] use wildfish for development-basic configuration

Source: Internet
Author: User
Tags mssqlserver

1. Modify wildfish. config. XML to configure the data source.
Copy A dataaccessprovider
Modify attributes

<Dataaccessprovider>
<Name> your iseries project name </Name>
<Dataaccessnamespace> fishsky. dataaccess. Base. iseries </dataaccessnamespace>
<Datasource> your iseries Server IP or name </datasource>
<Category> real library list </Category>
<Userid> User Name </userid>
<Password> password </password>
<Testingcategory> testing librarylist </testingcategory>
<Istesting> false </istesting>
</Dataaccessprovider>

This corresponds to iseries

<Dataaccessprovider>
<Name> your MSSQLServer project name </Name>
<Dataaccessnamespace> fishsky. dataaccess. Base. MSSQL </dataaccessnamespace>
<Datasource> your database server name </datasource>
<Category> Databse name </Category>
<Userid> Use name </userid>
<Password> password </password>
<Testingcategory> testing database name </testingcategory>
<Istesting> false </istesting>
</Dataaccessprovider>

This corresponds to MSSQLServer.
(1) name is used to specify a name for an external call.
Dataaccess namespace is used to specify which data accessors to use. MSSQLServer uses wildfish. dataaccess. Base. MSSQL
Iseries uses wildfish. dataaccess. Base. iseries
Value Range: MSSQL iseries Oracle

(2) datasource is used to specify the database server. MSSQLServer is used to specify the IP address or name. iseries of a dbserver to specify the IP address or name of a dbserver. Oracle is used to specify the service name of a dbserver. -- Oracle is not very familiar with it, so there may be Conceptual errors.

(3) category is used to specify the name of the database in the production environment-MSSQLServer or the list of databases used to specify the production environment-iseries
Oracle is useless.
(4) needless to say, userid Password
(5) testingcategory is used to specify the name of the database in the test environment-MSSQLServer or the list of databases used to specify the test environment-iseries
The service name that Oracle uses to specify the test environment dbserver.
(6) istesting is used to specify whether it belongs to the test environment. The value range is {true, false}

For the default data source, we can set the default name of dataaccesssection.

2. Modify the app. config file of configurationtool
Modify the default dataaccessprovider name for catelog settings
Modify the namespace to use the default namespace for output code. If it is chateau, the data code namespace = wildfish. Data. Chateau and so on. The rule layer = wildfish. businessrule. Chateau

3. Compile wildfish's solutionto generate executable configurationtool.exe and wildfish. dll

...........................
I am so tired today that I will try again tomorrow.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.