Marauroa Database Structure: Difference between revisions
Content deleted Content added
imported>Kymara m →Storing objects in the database: typo |
imported>Hendrik Brummermann added iamges |
||
Line 2:
{{Navigation for Marauroa Developers}}
This article describes the table structure of the Marauroa database. You might want to have a look at [[Database Access]] which explains the high level API to access the database from your program code.
== Accounts ==
[[Image:Database-account-logs.png]]
== Bans ==
[[Image:Database-account-bans.png]]
== RPObjects ==
[[Image:Database-rpobjects.png]]
== Game Logging ==
[[Image:Database-gamelog.png]]
== The whole picture ==
[[Image:Database-marauroa.png]]
== Other stuff ==
{{Move everything below these lines into the [[Database Access]] article}}
=== JDBC Database HOWTO===
{{TODO|Update to reflect DAOs}}
{{TODO|Add H2}}
Line 186 ⟶ 42:
The rest of code is handled by the server itself, and it will create the tables if they don't exist.
=== Storing objects in the database ===
Objects are stored in the database to save their state. This is an expensive operation, so it is only done every 10 minutes or on special events (like logout).
| |||