ßB ӵ ÔL ʽ ¬ hanva е Ädatabase.service ӳ Ü

  ÚHanvaĿ У ßB ӵ IJ ԃ һ μ ķ ʽ ɣ º 
  1 춗 l ε ßB ӣ ֱ Ӓ Ãentity × x ȡ-l ε ĶƒH 춗 l Ε ĔU䣬Åc һ Ć Î± ԃ>] ʲ üN ͬ ÔO ¨ list, Ҳ Úentities ˺ ֱ ÔO ßB ӗ l » 
  2ßx Ҳ Ƕ ģ>]  ßx ԭ "t ¿Database.service ѻ ßBîAÔOĶ Ѷ ßBÞD αε ßB ӣ ßB Ӳ » 
  3> r Խ ß ^ Ì ֱ ʹ ÃSQL ԃ ߀>] ß ^ » 

  database.serviceÞD ε ½ yßm ԭ ĭh У Ƿ dzêPæI һ ß ^ Һ ß \ ÞDÔO'_ģ θ Ҫ £ database. serviceÔOǻŽÃ¼c º 
  1ßB  Ҋ ӛ Ļ Ͷ ӛ ßB ӣ » 
  2ӛ Ý ^ 3 » 
  3һ 췽 п ǁ ˿ һ ϣ 춻 Ĺ É_ ° l ǁ ε ½ yé_ ° l • r ʮ һ ϣ ؏ Կ Ǻ ܸ ߣ ʹ Ҳ ͵ ġ £ 
  4є êP ε ָ Ɇ һ ÄER ᣬ ܉ ów ¬ F Ҫ ÷ entityĹ ǗO ل ģ Ͷ ӱ 

  database.service ᘌ ücĽ> Q Ҫ º 
  1 ʹ ÃXMLú ̵ Ļ ӛ䛶ʹ Ô 췽 ß @ ӣ ʡ ȥ ðN Ĺ ֣ ʹ Ì ְ Ϳ ͨ һ Ե Ĺ 
  2ӛ䛵ÔL ܴ 󣬶 ßB ζ švĵÙY Դ ßhßhß ^ ͨ Ć Î± ßB ӣ ˣ ѻӛ䛷ßM ȴ Ѷ ßB Ӻ α Ժ ÷ Ĺ Ҳ ܉ ß \ Ч ʣ » 
  3 춲 ʹ ÃXMLı ӛ䛵ͣ ֧ ʹ Ô ӛ䛣Ȼ ÔL • r Ͱ ß @ × x һ Ļ һӹ ß ^ һ Ε rég>] ÔL Ͱ ß @ ȴ Juan òvég ½ o • r գ » 
  4 ؄ eĻ ζ Ŀ ɳ ķ ɢ ĢÔL Ќ ¬ F Ӵ ģĹ Ð•  ģ ‰ K ʡ… sß @ ֵ Ĺ ؏ Õ (ã £ 
  5ε ½ y '] ӱ ϣ ÇXML / OR н> QÕnî) £ 

  database.service  M º 
  һ ¢ MemoryBase: 
  ˼ Áxdž μ ڃ ȴ е ÄBase  ëH چ ӡ ÔLǰǴÚxmlļ У ÉXML ½ Yĵ ͬ ԭ С ă ݡ ÚXML ʹ ÷ ʽ ߀ 쾚 ĕr  Е Ļ  һ ļ У Ԝ p ٳ ʼ ጵ ij ɱ Ŀǰ ѽ ° l ¬ F Ѳ ͬ Ļ ɢ С ļ У ÔL • r ٽ ጣ Ԝ p ȴ ÙY Դ ģ ͬ • r С ļĆ Î´ ÔLij ɱ Ҳ ڿ ɽ ܹ ȣ ß @ ӵ ĽY һҪ á £ 

  ¢ SimpleBase » 
  ʹ Æ һ Dian ĵĻß @ ᘌ ij Щӛ ߀ DZÝ ^ ģ ʮ ֹ ÚXML й Ý ^ Korea ÃXContainer Թ Ҳ>] ß @ • r  ʹ Ãsimplebase ԰ Ҫ Ļ з ڔ 졣 

  ¢ multibase;; 
  ß @ ᘌ ıêP ε ½ Y Ҫ ÔLı ͣ » 

  Ġ ¢ treebase / multitree 
  treebase һ ¿    parentidķšv ͌ ģ ʽ ڌ ëHĿ × Cß \ к ͑ Ч ʶ Ý ^ ͣ ½ Yßm ʹ Ãparentid ʹ Ãlistable Zhu ϣ Ա é_ÿ ÔLķòparentid ݱ šv㷨ß @-l ѽ ÉXML ¢ XOR ʽ õ> Q ˣ Údatabase.serviceß @ 헌 ëH ѽ Ué_ ° l • rĕrég Ģ £ 

  ½ YÕZ º 
  Ÿo Փ ÇhanvaĻ գ Լ ° hanvaǰ ʹ ҕ ˆ D Ӳ ԃ ¯ J2EE е Ķ ԃ ďës Ժ ëy ә C ͨ ß ^ ڔ Ì Îµ ĸ ӹ 򣬰 Ñ‘ Ì Ðµ ķ Ñ) ëyČêP ε ½ Y ӳ the Ɇ α ½ Y ± M ܌ ÄERÔO Ӌ ± M ܵ ؜ p وٴ ßB й ʽ ε ָ ʾ ã KnjêP ε е æIêP ε ķ 񶨣 ֻ njß @ NæIÔLĂ ½ yĶíSQL Xiu ӵ ķ 񶨡 춃 Ɍ ӵ đã>] κ Áx Ӵ đ ε ½ y ܿ êP ε ½ YêP ε ½ YÞD ß ^ е ćL ԇ ± M ߀>] κ ÛE һ ɹ ؏ Võ õćL ԇ £ 

  º 
  databasedz ʹ һ öDatabase.getInstance (). getBase () ķṩ ͳ һ ķÊbaseķ » 
  databaseļ ¼ Çdao.Record, һ öMemoryBase һ öSimpleBase ¼ һ öRecord; MemoryBase ̳ ÐRecord з ͬ ʱ SimpleBase ̳ ËMemoryBase, ÄBase ̳ ÔSimpleBase £ dao.Record Ϊ Ðbaseĸ ࣬ ̳ ÔvEntity-> dao; ʹ е ķ £ 
  Çmemorybase ¬ simplebase, multibase Ƿ Ørecords е ļ ¼ Çtreebase а ¨ flat 3ûflat Ϊ Juan ǰÖbase ͬ ֻ ôisleafIJ ֣ ⼴ Ҷ Ļ ࣬ ãøTreeNodeëRecordDz ͬ ģ »TreeNode ʹ âgetNode () ÚMemoryBase, SimpleBase ʼ ʼ ڴ Ͳ Ҫ proÍconllection 

  Úmultibase: 
  multibase ԶԶ ƣĿ ʹ ͬ һ Ӡ £ multibase һ ösimplebase ¼ ͣ ʵ ε ʵ һ ödao.Multibase ڶ Զ ε Ͽ ʹ Ãsimple_ref Ҳн ε ͱ çmember_role_ref; ѯ ʱ ķ ȶ ÚQuery У Ȼ õij ͵ ÄidǼ ʹ Ãin () Õ Ð± Ȼ Ŀ ̫ ࣬ sql Ϊ ̫ С £ 




Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google
  • DZone
  • Netvouz
  • NewsVine
  • Technorati

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button