본문 바로가기

Language111

ibatis의 탄생 철학 출처: http://blog.naver.com/2000yujin/130154067545 : iBATIS 역사: iBATIS 이해: 데이터베이스 종류 iBATIS는 관계형 데이터베이스와 SQL의 가치를 인정하고 산업 전반에 걸친 SQL에 대한 투자를 그대로 이어가겠다는 생각을 기반으로 하고 있다. iBATIS는 SQL로 더 쉽게 작업할 수 있도록 SQL 사용을 기꺼이 받아들였고, 현대적인 객체 지향 소프트웨어와의 통합을 더 쉽게 만들어 주는 퍼시스턴스 계층(persistence layer) 프레임워크로 자리매김 했다. 1.1 복합적인 솔루션 : 최고 중의 최고들로 구성하기 현대 세계에서는 복합적인 솔루션을 어디서든 찾아볼 수 있다. 겉으로 보기엔 서로 반대되는 두 생각을 받아들여 중간에서 그것들을 합치면 .. 2016. 2. 4.
IBatisNet.Common.Exceptions.ConfigurationException inner Exception문구 - The error occurred while loading SqlMap.- Check the parameter mapping typeHandler attribute '' (must be a ITypeHandlerCallback implementation).- The error occurred in . - Check the GetCpMetadataDetailView. IBatisNet.Common.Exceptions.ConfigurationException 에러 대처법 이건 쿼리 나 코드 문제가 아니다 아.. 쿼리 일 수도 있나? 여튼. ibatis 문법 문제다. parameterClass에 바인딩 되는 필드 명(오타 포함) 문제일 수도 있고 형식 문제일 수도 있다.거의.. 2016. 2. 4.
[C#] 파일 읽기와 쓰기 처리 using System.IO; using System.Xml; string strSaveFilePath = "C:\\test.txt"; StreamReader SRead = new StreamReader(strSaveFilePath, System.Text.Encoding.UTF8); string strFileLine = string.Empty; while((strFileLine = SRead.ReadLine()) != null) { Console.WriteLine(strFileLine); } SRead.Close(); string strTest = "testtest"; StreamWriter SWrite = new StreamWriter(strSaveFilePath,false,System.Text.Enc.. 2016. 2. 4.
DateTime.ToString 메서드 (String) 출처: msdn using System; public class DateToStringExample { public static void Main() { DateTime dateValue = new DateTime(2008, 6, 15, 21, 15, 07); // Create an array of standard format strings. string[] standardFmts = {"d", "D", "f", "F", "g", "G", "m", "o", "R", "s", "t", "T", "u", "U", "y"}; // Output date and time using each standard format string. foreach (string standardFmt in standardFmts) .. 2016. 2. 4.
Decimal.ToString 메서드 (String) 출처: MSDNdecimal value = 16325.62m; string specifier; // Use standard numeric format specifiers. specifier = "G"; Console.WriteLine("{0}: {1}", specifier, value.ToString(specifier)); // Displays: G: 16325.62 specifier = "C"; Console.WriteLine("{0}: {1}", specifier, value.ToString(specifier)); // Displays: C: $16,325.62 specifier = "E04"; Console.WriteLine("{0}: {1}", specifier, value.ToString(spe.. 2016. 2. 4.
C# Get Web Source / 웹사이트 소스 가져오기 using System.Net; //... using (WebClient client = new WebClient ()) // WebClient class inherits IDisposable { client.DownloadFile("http://yoursite.com/page.html", @"C:\localfile.html"); // Or you can get the file content without saving it: string htmlCode = client.DownloadString("http://yoursite.com/page.html"); //... } 2016. 2. 4.
반응형