aboutsummaryrefslogtreecommitdiff
path: root/bulk/oracle/auto/person-odb.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bulk/oracle/auto/person-odb.hxx')
-rw-r--r--bulk/oracle/auto/person-odb.hxx221
1 files changed, 0 insertions, 221 deletions
diff --git a/bulk/oracle/auto/person-odb.hxx b/bulk/oracle/auto/person-odb.hxx
deleted file mode 100644
index fbc84aa..0000000
--- a/bulk/oracle/auto/person-odb.hxx
+++ /dev/null
@@ -1,221 +0,0 @@
-// This file was generated by ODB, object-relational mapping (ORM)
-// compiler for C++.
-//
-
-#ifndef PERSON_ODB_HXX
-#define PERSON_ODB_HXX
-
-#include <odb/version.hxx>
-
-#if (ODB_VERSION != 20302UL)
-#error ODB runtime version mismatch
-#endif
-
-#include <odb/pre.hxx>
-
-#include "person.hxx"
-
-#include <memory>
-#include <cstddef>
-
-#include <odb/core.hxx>
-#include <odb/traits.hxx>
-#include <odb/callback.hxx>
-#include <odb/wrapper-traits.hxx>
-#include <odb/pointer-traits.hxx>
-#include <odb/container-traits.hxx>
-#include <odb/no-op-cache-traits.hxx>
-
-#include <odb/details/unused.hxx>
-
-namespace odb
-{
- // person
- //
- template <>
- struct class_traits< ::person >
- {
- static const class_kind kind = class_object;
- };
-
- template <>
- class access::object_traits< ::person >
- {
- public:
- typedef ::person object_type;
- typedef ::person* pointer_type;
- typedef odb::pointer_traits<pointer_type> pointer_traits;
-
- static const bool polymorphic = false;
-
- typedef long unsigned int id_type;
-
- static const bool auto_id = true;
-
- static const bool abstract = false;
-
- static id_type
- id (const object_type&);
-
- typedef
- no_op_pointer_cache_traits<pointer_type>
- pointer_cache_traits;
-
- typedef
- no_op_reference_cache_traits<object_type>
- reference_cache_traits;
-
- static void
- callback (database&, object_type&, callback_event);
-
- static void
- callback (database&, const object_type&, callback_event);
- };
-}
-
-#include <odb/details/buffer.hxx>
-
-#include <odb/oracle/version.hxx>
-#include <odb/oracle/forward.hxx>
-#include <odb/oracle/binding.hxx>
-#include <odb/oracle/oracle-types.hxx>
-
-namespace odb
-{
- // person
- //
- template <>
- class access::object_traits_impl< ::person, id_oracle >:
- public access::object_traits< ::person >
- {
- public:
-
- static const std::size_t batch = 3UL;
-
- struct id_image_type
- {
- char id_value[12];
- ub2 id_size;
- sb2 id_indicator;
-
- std::size_t version;
- };
-
- struct image_type
- {
- // id
- //
- char id_value[12];
- ub2 id_size;
- sb2 id_indicator;
-
- // num
- //
- unsigned int num_value;
- sb2 num_indicator;
-
- // str
- //
- mutable oracle::lob_callback str_callback;
- sb2 str_indicator;
- oracle::lob str_lob;
-
- std::size_t version;
-
- oracle::change_callback*
- change_callback ()
- {
- return 0;
- }
- };
-
- struct extra_statement_cache_type;
-
- using object_traits<object_type>::id;
-
- static id_type
- id (const id_image_type&);
-
- static void
- bind (oracle::bind*,
- image_type&,
- oracle::statement_kind);
-
- static void
- bind (oracle::bind*, id_image_type&);
-
- static void
- init (image_type&,
- const object_type&,
- oracle::statement_kind);
-
- static void
- init (object_type&,
- const image_type&,
- database*);
-
- static void
- init (id_image_type&, const id_type&);
-
- typedef oracle::object_statements<object_type> statements_type;
-
- static const std::size_t column_count = 3UL;
- static const std::size_t id_column_count = 1UL;
- static const std::size_t inverse_column_count = 0UL;
- static const std::size_t readonly_column_count = 0UL;
- static const std::size_t managed_optimistic_column_count = 0UL;
-
- static const std::size_t separate_load_column_count = 0UL;
- static const std::size_t separate_update_column_count = 0UL;
-
- static const bool versioned = false;
-
- static const char persist_statement[];
- static const char find_statement[];
- static const char update_statement[];
- static const char erase_statement[];
-
- static void
- persist (database&, object_type**, std::size_t, multiple_exceptions*);
-
- static pointer_type
- find (database&, const id_type&);
-
- static bool
- find (database&, const id_type&, object_type&);
-
- static bool
- reload (database&, object_type&);
-
- static void
- update (database&, const object_type&);
-
- static void
- erase (database&, const id_type&);
-
- static void
- erase (database&, const object_type&);
-
- public:
- static bool
- find_ (statements_type&,
- const id_type*);
-
- static void
- load_ (statements_type&,
- object_type&,
- bool reload);
- };
-
- template <>
- class access::object_traits_impl< ::person, id_common >:
- public access::object_traits_impl< ::person, id_oracle >
- {
- };
-}
-
-#include "person-odb.ixx"
-
-#include <odb/post.hxx>
-
-#endif // PERSON_ODB_HXX