More servicesWindows Live
HomeHotmailSpacesOneCare
 
MSN
Sign in
 
 
Spaces home  海鸥航迹PhotosProfileFriendsMore Tools Explore the Spaces community

海鸥航迹

梦幻岁月
August 23

Hibernate 和NHibernate 最小指南

这是一份NHibernatehe 和 Hibernate的学习指南,对于做JAVA开发和.NET开发的人都很有帮助。

Mini-Guide: Hibernate and NHibernate

By Brent Sheets
Posted by Jack Vaughan

Hibernate is an ORM [Object-Relational Mapping] service used to develop persistent Java classes. On the back of NHibernate, it’s popularity has spread to the .NET space as well. This has proved of special interest in IT shops that are working toward interoperability strategies that leverage the skills of developers who can handle both .NET and Java problems. No matter whether you’re an old pro or just starting to investigate object relational mapping, the resources I’ve gathered should help you learn something new. You’ll find quick links to official reference material and great tutorials for gaining hands-on knowledge. Dig right in.

The Hibernate Environment
Hibernate Core for Java
Hibernate Annotations
Hibernate EntityManager
Hibernate Shards
Hibernate Validator
Hibernate Tools for Eclipse and Ant
NHibernate for .NET

Reference and Documentation
Hibernate Documentation
Hibernate Downloads
What is Hibernate? - by James Elliot, author of “Hibernate: A Developer’s Notebook.”
NHibernate Intro

Hibernate Tutorials
Basic Hibernate Tutorial for Beginners (Gary Mak)
Introduction to Hibernate (Bhushan Dongare)
Hibernate Tutorial (VisualBuilder.com)
The Road to Hibernate (Michael Gloegl)
Using Hibernate With the NetBeans Visual Web Pack (NetBeans)
Using Hibernate with the Java Persistence API (NetBeans)
Using Hibernate with JPA (NetBeans)
Part 1: Extending the NetBeans Tutorial JSF-JPA-Hibernate Application (Java.NET)
Part 2: Extending the NetBeans Tutorial JSF-JPA-Hibernate Application (Java.NET)
Part 3: Extending the NetBeans Tutorial JSF-JPA-Hibernate Application (Java.NET)
Complete Hibernate 3.0 Tutorial (Java.NET)
Collection of Hibernate tutorials (JavaBeat)
Using Hibernate With the Sun Java Studio Creator IDE (Sun)
Hibernate Examples (java2s.com)
Using Hibernate as a JDBC (TSS.COM)

News and Community
Hibernate Forums
Hibernate Wiki
Hibernate Blog
Hibernate News

Mailing List: hibernate-announce
-General Hibernate-related announcement
Mailing List: hibernate-commits
-Source control commit notifications
Mailing List: hibernate-dev
-Discuss Hibernate development
Mailing List: nhibernate-commit
-Source control commit notifications
Mailing List: nhibernate-development
-Discuss NHibernate development

__________________________________
About the Author

Brent Sheets is a former Senior Editor at TechTarget and a frequent contributor to SearchVB.com. He founded and managed the popular Visual Basic Web Directory website until it was acquired by TechTarget in 2000 and relaunched as SearchVB.com. Brent currently resides in sunny Florida with his wife and daughter.

July 16

无法显式文件扩展名和隐藏文件的解决办法

今天不知从那个U盘,中了一个蠕虫病毒,导致隐藏文件夹和文件扩展名均不可见,修改文件夹设置都不好使。现在记录一下解决过程:

http://csc.rising.com.cn/KnowledgeBase/detailInfo.aspx?Channel=RSQ&Action=ViewInfo&InfoID=711

上面是瑞星给出的方法,可以显示出隐藏文件夹了。

扫描病毒,发现:

VirusScan Enterprise:

文件 C:\WINDOWS\system32\isass.exe 已感染病毒 Generic.dx 特洛伊。文件已成功删除。

NT AUTHORITY\SYSTEM svchost.exe E:\AutoRun.inf Generic component (特洛伊)

NT AUTHORITY\SYSTEM svchost.exe C:\AutoRun.inf Generic component (特洛伊)

PISC-0001\SUN explorer.exe C:\WINDOWS\MDM.EXE BackDoor-DKR (特洛伊)

Macfee虽然查杀了病毒,可仍然没能修复系统。

将下面的文本保存为show_ext.reg,执行后,系统恢复。

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\HideFileExt]
"Type"="checkbox"
"Text"="@shell32.dll,-30503"
"HKeyRoot"=dword:80000001
"RegPath"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced"
"ValueName"="HideFileExt"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000001
"HelpID"="shell.hlp#51101"

June 25

沈阳住房公积金管理中心及驻区办事处办公地址

一、沈阳住房公积金管理中心及驻区办事处办公地址、咨询电话
名 称   电 话 地 址 备 注
公积金中心 23930300 沈河区彩塔街17号 沈阳体育馆北马路
和平办事处 22831379 和平区和平北大街48号 妇女会馆对面
沈河办事处 24147308 沈河区大南街384号 环路大南边门下车南走200米
铁西办事处 25863406 铁西区南九东路6甲10号 九路与应昌街交叉口东北角
大东办事处 88565181 大东区天后宫路79号 沈阳26中学斜对面路南
皇姑办事处 86416186 皇姑区珠江街90-1号 珠江立交桥北侧路西
新城子办事处 89601612 新城子区中央路52号 建行新城子支行2楼
苏家屯办事处 89138568 苏家屯雪松路28号  
新民办事处 27622916 新民市辽河大街88号 新民建设局6楼
辽中办事处 87828903 辽中县政府路110号 辽中县建行3楼
康平办事处 87338256 康平县中心街248号 康平县工行2楼
法库办事处 87115882 法库县法库镇吉祥街二纬二组 兴法路十字街东100米

June 22

70个流行的AJAX应用程序或演示代码

  1. Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell
  2. AJAX - microlink pattern tutorial : A microlink is a link that opens up content below it.
  3. Ajax BBC News RSS Reader : demo by Nigel Crawley
  4. AJAX Chat in Python with Dojo : at AquaAjax
  5. Ajax Chess : multiplayer chess
  6. Ajax examples at BackBase : examples demonstrating several aspects of the Backbase technology.
  7. Ajax examples at Rico : Inner HTML, JavaScript updater etc.
  8. Ajax examples using ColdFusionMX, SQLServer, SOAP : Contact Manager, NOAA 7 Day Forecast code and demos.
  9. Ajax Feed TV : News feed
  10. Ajax inline dictionary : Highlight any text on this site then right click. A tooltip containing the definition of the selected word should show up.
  11. Ajaxload : Ajax loading gif generator.
  12. Ajax Login Demo : Creating a secure login system using XMLHttpRequest
  13. Ajax Newsletter Signup : A newsletter signup form that shows Thank You on the same page.
  14. ajaxProject : Project Management applicaiton with rich UI
  15. Ajax Rater : A star rating system that uses Ajax.
  16. AJAX-S : An Ajax-based slideshow system.
  17. AJAX Spell Checker : spell check text / form content.
  18. Ajax Toolbox : Tools for the Ajax Developer
  19. Amazon Catalog Tree : Amazon Catalog Tree
  20. Amazon Zuggest : Amazon product suggestion (like google suggest)
  21. Askeet by symfony : Digg-like AJAX interactions; open source
  22. Backbase - Ajax Demos : Ajax demos at BackBase
  23. Basic Ajax Examples : Ping, track changes, drop down, Google suggest hack etc at Clearnova
  24. Behaviour : Fading lists, Sortable lists, Dropout boxen, Shaky lists
  25. chat.app : ajax chat
  26. Chihuahua Word Puzzle : daily word puzzles
  27. Coloir : Ajax Slideshow
  28. DHTML arcade/action games : a collection that demonstrate the power of DHTML
  29. DomAPI : Windows Desktop, Outlook-like, RSS Reader
  30. Drag and Drop Shopping Cart Demo : at CyberDummy
  31. Easy AJAX inline text edit 2.0 : edit a piece of text inline
  32. FileChucker : File upload and progress bar at Encodable.com
  33. Gmail Style Check Username AJAX Demo : at CyberDummy
  34. Google Web Toolkit Example Projects : Hello World, Dynamic Table, Desktop App Clone etc
  35. GreyBox : Pop up window using idea of light box.
  36. FiftyFourEleven: Ajax Examples
  37. IntuiCat - ajax Catalogue : Ajax-based Catalogue Demo
  38. jsLINB programming demos : LINB(Lazy INternet and Browser)
  39. JSlog : Ajax logging tool.
  40. JS/UIX Unix Shell : JS/UIX is an UN*X-like OS for standard web-browsers, written entirely in JavaScript.
  41. Lace : free web chat application
  42. Lightbox : simple, unobtrusive script used to overlay images on the current page.
  43. Leightbox : Light Box with inline div’s instead of AJAX calls.
  44. Live Quote Demo : Simple way of creating an updating stock quote table in ajax.
  45. Magnetic Poetry : drag and drop poetry
  46. Metatron Chat Engine : PHP/MySQL/JavaScript powered chat engine
  47. Monket Calendar : online calendar
  48. Multi List Drag Drop Demo : at CyberDummy
  49. NetDirector : open and extensible framework for managing configurations of common open source network services.
  50. nexImage : Image processing demo
  51. Opera Platform : Enabling AJAX applications on mobile phones
  52. Orbeon examples : various examples illustrating the capabilities of OPS, from the OPS Tutorial examples to XForms examples
  53. OVO Suite : Online Virtual Office : virtual office limited demo
  54. phpFreeChat : php Free Chat
  55. S5: A Simple Standards-Based Slide Show System : S5 is a slide show format based entirely on XHTML, CSS, and JavaScript.
  56. script.aculo.us Reflector : image reflector script that uses uses opacity-based fades
  57. Slider Bar Demo : at CyberDummy
  58. SmallestAjax : Smallest Ajax example in the world?
  59. Spell Check demo : by Primal Grasp
  60. Super Maryo World : Japanese game demo
  61. Tacos : Tacos provides a library of useful Tapestry components. This application provides some examples to get you started.
  62. theList : to-do list / bug-tracker
  63. ThickBox : ThickBox is a Lightbox than can show html pages as well as images.
  64. Tooltip.js : Tooltip.js is a simple class to make it possible to add tooltips to your page.
  65. Treehouse Chat : ajax chat
  66. Tudu Lists : open-source to-do lists
  67. WeBoggle : Ajax Boggle
  68. XHTML live Chat : ajax chat
  69. YahooSearchAsYouType : Yahoo search as you type
  70. ZK Demo : demo programs for various components
June 20

设置Microsoft SQL Server Management Studio Express--使用SQL验证登录(如使用sa用户登录)

设置Microsoft SQL Server Management Studio Express
使用SQL验证登录(如使用sa用户登录)

许多初次使用SQL Server 2005 Express的朋友,使用SQL验证登入时,例如使用sa账户登入出错,解决办法如下:

 

环境:

Microsoft SQL Server Management Studio Express 9.00.2047.00

Microsoft 数据访问组件 (MDAC) 2000.085.1117.00 (xpsp_sp2_rtm.040803-2158)

Microsoft MSXML 2.6 3.0 4.0 5.0 6.0

Microsoft Internet Explorer 6.0.2900.2180

Microsoft .NET Framework 2.0.50727.42

操作系统 5.1.2600

右键单击服务器,在菜单中选择“属性”。弹出如下对话框,选择“SQL Server 和Windows身份验证模式”。

依次单击“安全性”à”登录名”,双击要改变登录属性的数据库用户名,例如sa,弹出如下对话框,选择“状态”,更改成如下样子即可(你可能需要在“常规”页设置sa的密码)。

至此,可以使用SQL验证。

View more entries