background preloader

DB

Facebook Twitter

Developing an application using Oracle 10g under Visual Studio 2010 - TechNet Articles - United States (English) Connecting to Oracle from Visual Studio - Kirk Evans Blog. Man, I am spoiled. I am spoiled by how simple the free edition of SQL Server 2008, SQL 2008 Express, is to set up and connect to. I found myself needing to connect to an Oracle database this week. I haven’t had to connect to an Oracle database in years, I forgot how painful this can be. If you find that you need to set up a connection to an Oracle database for your application, and assuming you are able to install the Oracle 10g client and tools locally on one machine for development purposes, here are some steps to try to ease the learning curve a bit. Install Oracle 10g Express There is a free version of Oracle that you can download to test your application against.

I accepted all defaults through the installation process, and provided a password for the system and sys accounts. You are prompted for a username and password. Choose Administration, then Database Users, then click on the HR icon. Developing an application using Oracle 10g under Visual Studio 2010 - TechNet Articles - United States (English) Connecting to Oracle from Visual Studio - Kirk Evans Blog. Installation of Oracle SQL Developer 3.2 64-bit on Windows 7 64-bit | Matthias Hoys.

Environment: Oracle SQL Developer 3.2.09 64-bit, Java 1.6.0_34 64-bit, Windows 7 64-bit Oracle recently released version 3.2 of SQL Developer. This new version has some interesting new features, like the possibility to administer the APEX Listener, the option to connect to databases in the cloud, and an improved DB Diff wizard. To read more about the new features, check this page. There are both 32-bit and 64-bit versions of the software. I will explain here how you can install the 64-bit version on Windows 7 64-bit. 1) Download and install 64-bit Java 6 JDK The 64-bit version of SQL Developer does not include a Java Development Kit, but you need a Java 6 JDK to run it. 2) Download and install 64-bit SQL Developer If you have any previous versions of SQL Developer installed, do not remove them!

SQL Developer can be downloaded here: SQL Developer should now start up fine. Have fun, Matthias Like this: NHibernate - Relational Persistence for Idiomatic .NET. Object/relational mappings are defined in an XML document. The mapping document is designed to be readable and hand-editable. The mapping language is object-centric, meaning that mappings are constructed around persistent class declarations, not table declarations. Note that, even though many NHibernate users choose to define XML mappings by hand, a number of tools exist to generate the mapping document, including NHibernate.Mapping.Attributes library and various template-based code generators (CodeSmith, MyGeneration).

Let's kick off with an example mapping: We will now discuss the content of the mapping document. We will only describe the document elements and attributes that are used by NHibernate at runtime. The mapping document also contains some extra optional attributes and elements that affect the database schemas exported by the schema export tool. All XML mappings should declare the XML namespace shown. This element has several optional attributes. Increment identity sequence hilo.