# create a mapping of state to abbreviationstates = {'Oregon': 'OR','Florida': 'FL','California': 'CA','New York': 'NY','Michigan': 'MI' }# create a b...
分类:
其他好文 时间:
2014-10-26 13:00:02
阅读次数:
160
@Controller@RequestMapping("/Person")public class PersonManagerService { private Logger log = LoggerFactory.getLogger(PersonManagerService.class);...
分类:
移动开发 时间:
2014-10-25 15:41:33
阅读次数:
199
今天发现自己连Bundle类都没有搞清楚,于是花时间研究了一下。依据google官方的文档(http://developer.android.com/reference/android/os/Bundle.html)Bundle类是一个key-value对,“A mapping from Strin...
分类:
移动开发 时间:
2014-10-25 15:40:20
阅读次数:
167
对象关系映射的开始:class元素表示类和数据库中的表的映射关系。
name属性指定持久化类(或者接口)的Java全限定名;
table属性指定要映射的对应的数据库表名,如果省略,则以name作为表名
-->
com.hibernate.customer.customer" table="customer">
...
分类:
移动开发 时间:
2014-10-24 18:59:32
阅读次数:
280
hibernate 是当前最流行的o/r mapping框架,它出身于sf.net,现在已经成为jboss的一部分了。ibatis 是另外一种优秀的o/r mapping框架,目前属于apache的一个子项目了。相对hibernate“o/r”而言,ibatis是一种“sql mapping”的or...
分类:
移动开发 时间:
2014-10-22 17:58:31
阅读次数:
196
A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message conta...
分类:
其他好文 时间:
2014-10-22 14:15:29
阅读次数:
134
using System;
using System.Data.Linq.Mapping;
namespace ConsoleApplication3
{
[Table(Name = "test")]
public class db_test_info
{
[Column(IsPrimaryKey = true, IsDbGenerated = true)...
分类:
数据库 时间:
2014-10-22 11:06:22
阅读次数:
191
Tips:这个例子说明如何在图层中选择或反选几何对象,当点击地图时,触发mapClick事件,激活QueryTask,这里的Query中的query.geometry = event.mapPoint;利用鼠标点击的点来查找包括该选择点的Polygon,然后将查询到的几何要素添加到GraphicsL...
分类:
移动开发 时间:
2014-10-21 17:05:32
阅读次数:
301
今天开始系统的学习ArcGIS For Flex,先从ESRI的例子学起 1 2 6 33 34 35 48 49 50 51 52 This sample demonstrates how to allow...
分类:
移动开发 时间:
2014-10-21 14:59:40
阅读次数:
261
namespace YourNamespace{ /// /// Uses the Name value of the ColumnAttribute specified, otherwise maps as usual. /// /// The type of the ...
分类:
移动开发 时间:
2014-10-21 00:45:58
阅读次数:
3600