`

neodatis.odb 第五篇 保存

    博客分类:
  • odb
J# 
阅读更多

  ODB odb = null;
  Sport soccer = new Sport("足球");  
  
  SimpleDateFormat format = new SimpleDateFormat("yyyy-mm-dd");
  Player 亨利 = new Player("蒂埃里·亨利", format.parse("1977-8-17"), soccer);
  try {
   odb = ODBFactory.open("test.odb");
   OID oid1 = odb.store(亨利);
……

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
1/4 2/4 3/4 4/4
database id database id database id  
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
  2 1 FALSE FALSE username
database id nb classes first class info oid odb
last
close
status
databse
without
user,pw
no-user
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
username
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
  password
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
password 155
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
  18034 20 1 -1 -1 1
current id bolck position block size     prev block pos next block pos id block number
181 182 183 184 185 186 187 188 189 190               198 199 200 201 202 203 204 205 206 207 208 209 210
5 2
(代表CLASS) 
1 1
ACTIVE
18189 2
(代表CLASS) 
1
id block max id update id
type
oid id
status
class
position
of
id
id
type
oid
211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240
  1 18309 1
(代表OBJECT)
3 1 18589
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270
  1
(代表OBJECT)
4 1 18765      
 
Player类
18189       18193 18194 18195               18203               18211              
120 1 2 1 -1 2
block size class
header
block
type
Class
info
category
class
id
prev
class
oid
next
class
oid
18219                 18227               18235               18243        
0   -1 -1 P l a y e
class nb objects   class
first
obj
pos
class last obj pos 值(2×字符数+8)
18248                             18263                       18275    
r m a r s . o d b . p o j o
  值(2×字符数+8)
18297       18301               18309  
3 18466  
Max attribute id class att def pos  
 
Sport类
18309       18313 18314 18315               18323               18331              
118 1 2 2 1 -1
block size class
header
block
type
Class
info
category
class
id
prev
class
oid
next
class
oid
18339                 18347               18355               18363        
0   -1 -1 S p o r t
class nb objects   class
first
obj
pos
class last obj pos 值(2×字符数+8)
                          18381                          
  m a r s . o d b . p o j o
  值(2×字符数+8)
18415       18419               18427  
1 18427  
Max attribute id class att def pos  
 
Sport属性
18427       18431 18432               18440       18445       18449        
39 2 ` 1 210(java.lang.String) n a m e
block size BLOCK_
TYPE_
CLASS_
BODY
class
nb
attributes
attribute
id
att
odb
type
id
 
 
Player属性
18466       18470 18471               18479       18484       18488                
123 2 3 1 210(java.lang.String) n a m e
block size BLOCK_
TYPE_
CLASS_
BODY
class
nb
attributes
attribute
id
att
odb
type
id
值(2×字符数+8)
                18505         18510       18514                        
  2   170(java.util.Date) b i r t h D a t e
  attribute
id
  att
odb
type
id
值(2×字符数+8)
                            18541       18546               18554      
  3 2 favoriteSport
  attribute
id
class
info
id
值(2×字符数+8)
 
Player对象
18589       18593   18594               18602               18610              
288 4
BLOCK_
TYPE_
NON_
NATIVE_
OBJECT
  3 1 -1
block
size
object
block
type
  oid class
info
id
[对象id]
prev instance
18618               18626               18634               18642       18646  
-1 [1211898399406] [1211898399859] 1  
next instance creation date update date object version number  
            18654 18655       18659       18663               18671        
-1 FALSE 3 1 18695 2
object reference pointer is
syncronized
with
external
db
nb
attr
[属性数量]
attr id att pos attr id
18675               18683       18687                 18695       18699 18700      
18747 3 -4 9 3
BLOCK_
TYPE_
NATIVE_
OBJECT
210
att pos attr id att pos native
block
header
block
size
native
block
type
 native
block
odb
type
id
18705       …… 18747       18751 18752       18757                
蒂埃里·亨利 9 3
BLOCK_
TYPE_
NATIVE_
OBJECT
170 [222278880000]
值(2×字符数+8) native
block
header
block
size
native
block
type
native block odb type id
 
Sport对象
18765       18769  
112 4
block size object
block
type
18770               18778               18786               18794          
4 2 -1 -1
oid class info id prev instance next instance
    18802               18810               18818       18822              
  [1211898576968] [1211898577203] 1 -1
  creation date update date object
version
number
object
reference
pointer
18830 18831       18835       18839               18847       18851 18852       18857     18617
FALSE 1 1 18847 9 3
BLOCK_
TYPE_
NATIVE_
OBJECT
210 足球
is
syncronized
external
db
nb attr attr id att pos/att real pos native
block
header
block
size
native
block
type
 native block odb type id 值(2×字符数+8)
分享到:
评论

相关推荐

    odb文件工具

    ODB文件是一种由NeoDatis数据库管理系统创建的数据存储格式,它用于保存结构化数据。NeoDatis是一个开源的对象关系数据库管理系统(ORDBMS),提供了一种简单的方法来存储和管理对象,使得开发人员能够更容易地处理...

    用于 Abaqus FEA Python 解释器的 Python 脚本,允许对 Abaqus 输出 (.odb) 文件进行灵活的

    用于 Abaqus FEA Python 解释器的 Python 脚本,允许对 Abaqus 输出 (.odb) 文件进行灵活的批处理。 ---------- 概述 ---------- 以下“demo”子目录中的驱动程序 Python 脚本展示了我的 Abaqus .odb 文件后处理...

    oobj.odb

    oobj.odb

    NeoDatis ODB-开源

    NeoDatis ODB是新一代的面向对象数据库。 ODB是Java,.Net,Groovy,Scala和Google Android的真正的本机和透明持久层。 ODB非常简单且非常快速,并带有强大的查询语言。

    GENESIS 2000 DFM PE

    ODB_EDT_PROGRESS_STEP_ADVANCE . . . . . . . . . . . . . . . . . . . 73 OBD_EDT_PROGRESS_STEP_OPEN . . . . . . . . . . . . . . . . . . . . . . . . 74 ODB_EDT_PROGRESS_STEP_CLOSE . . . . . . . . . . . ....

    ODB_Inside_Cadence_Allegro_111_Windows_64_SA_Setup.zip.006

    Allegro自带的ODB++inside工具下载,ODB++inside插件可以将Allegro的.brd文件转化为仿真工具Hyperlynx使用的文件。共6个文件,需要分别下载。 ODB_Inside_Cadence_Allegro_111_Windows_64_SA_Setup.zip.001 ODB_...

    ODB_Inside_Cadence_Allegro_111_Windows_64_SA_Setup.zip.002

    Allegro自带的ODB++inside工具下载,ODB++inside插件可以将Allegro的.brd文件转化为仿真工具Hyperlynx使用的文件。共6个文件,需要分别下载。 ODB_Inside_Cadence_Allegro_111_Windows_64_SA_Setup.zip.001 ODB_...

    ODB_Inside_Cadence_Allegro_111_Windows_64_SA_Setup.zip.001

    Allegro自带的ODB++inside工具下载,DBinside插件可以将Allegro的.brd文件转化为仿真工具Hyperlynx使用的文件。共6个文件,需要分别下载。 ODB_Inside_Cadence_Allegro_111_Windows_64_SA_Setup.zip.001 ODB_Inside_...

    ODB_Inside_Cadence_Allegro_111_Windows_64_SA_Setup.zip.004

    Allegro自带的ODB++inside工具下载,ODB++inside插件可以将Allegro的.brd文件转化为仿真工具Hyperlynx使用的文件。共6个文件,需要分别下载。 ODB_Inside_Cadence_Allegro_111_Windows_64_SA_Setup.zip.001 ODB_...

    ODB_Inside_Cadence_Allegro_111_Windows_64_SA_Setup.zip.003

    Allegro自带的ODB++inside工具下载,ODB++inside插件可以将Allegro的.brd文件转化为仿真工具Hyperlynx使用的文件。共6个文件,需要分别下载。 ODB_Inside_Cadence_Allegro_111_Windows_64_SA_Setup.zip.001 ODB_...

    ODB_Inside_Cadence_Allegro_111_Windows_64_SA_Setup.zip.005

    Allegro自带的ODB++inside工具下载,ODB++inside插件可以将Allegro的.brd文件转化为仿真工具Hyperlynx使用的文件。共6个文件,需要分别下载。 ODB_Inside_Cadence_Allegro_111_Windows_64_SA_Setup.zip.001 ODB_...

    ODB++_Inside及说明.rar

    5. **自动化制造文件生成**:使用ODB++,可以自动生成制造所需的各种文件,如Gerber、NC钻孔文件等,降低了人工介入的风险。 "新建文本文档.txt"可能是一个简单的文本文件,可能是ODB++ Inside教程或说明的一部分,...

    ODB_Inside_Cadence_Allegro1-2.zip

    Cadence Allegro 11 – 17.x版的免费ODB ++输出 ODB ++面向制造的产品模型的整体视图。 与您的供应链中的所有DFM,CAM和其他基于ODB ++的制造软件...ODB_Inside_Cadence_Allegro5.zip ODB_Inside_Cadence_Allegro6.zip

    ODB操作手册

    5. **灵活的查询语言**:支持SQL查询语句,同时也提供了一些高级特性如延迟加载等。 #### 四、Hello World 示例 在**Hello World示例**中,我们可以通过以下步骤来了解如何使用ODB: 1. **声明持久化类**:定义一...

    ODB++ spec

    5. 版本8.1的规格描述文件于2015年9月发布,之后版本可通过指定网站更新下载。 6. 读者应该了解Mentor Graphics产品相关的许可协议和销售条款。 7. Mentor Graphics不为任何由于使用该规格描述文件而可能产生的损失...

    odb-manual-2.1.0.rar_odb

    5. **高级特性**:涵盖多对一、一对多、多对多关系的映射,以及自定义类型、继承、集合和嵌套对象的处理。此外,还包括对存储过程、触发器和视图的支持。 6. **性能优化**:提供关于如何通过调整映射策略、缓存机制...

    python ABAQUS.zip_ODB文件提取_abaqus odb_abaqus python_python odb_su

    采用Python提取有限元计算软件ABAQUS odb文件结果

    ODB_Inside_Cadence_Allegro_111_Windows_64_SA_Setup.zip

    ODB++是中国台湾Cadence公司开发的一种电路设计数据交换格式,主要应用于电子设计自动化(EDA)领域。这个压缩包“ODB_Inside_Cadence_Allegro_111_Windows_64_SA_Setup.zip”显然是为Windows 64位系统准备的Cadence...

    odb2vtk_odb_odbtovtk_odb2vtk_

    标题中的"odb2vtk_odb_odbtovtk_odb2vtk_"表明这是一个关于将ABAQUS的ODB(Output Database)文件转换成VTK(Visualization Toolkit)文件的工具或脚本。ODB是ABAQUS软件中用于存储模拟结果的二进制格式,而VTK则是...

    ODB++_Inside_Cadence_Allegro_114_Windows_64_SA_Setup.7z

    ODB++ Inside Cadence Allegro 11.4 Windows 64 SA Setup是一个专门针对Cadence Allegro设计平台的官方插件,主要用于支持ODB++数据格式的输入和输出。ODB++是一种广泛使用的电子设计自动化(EDA)数据交换标准,它...

Global site tag (gtag.js) - Google Analytics