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
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
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
91
92
#[cfg(any(feature = "all", feature = "java-sql-RowIdLifetime"))]
__jni_bindgen! {
public enum RowIdLifetime ("java/sql/RowIdLifetime") extends crate::java::lang::Enum {
#[cfg(any(feature = "all", all(feature = "java-sql-RowIdLifetime")))]
pub fn values<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::ObjectArray<crate::java::sql::RowIdLifetime, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/sql/RowIdLifetime\0", "values\0", "()[Ljava/sql/RowIdLifetime;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-sql-RowIdLifetime")))]
pub fn valueOf<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::sql::RowIdLifetime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/sql/RowIdLifetime\0", "valueOf\0", "(Ljava/lang/String;)Ljava/sql/RowIdLifetime;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", feature = "java-sql-RowIdLifetime"))]
pub fn ROWID_UNSUPPORTED<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::sql::RowIdLifetime>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("java/sql/RowIdLifetime\0", "ROWID_UNSUPPORTED\0", "Ljava/sql/RowIdLifetime;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "java-sql-RowIdLifetime"))]
pub fn ROWID_VALID_OTHER<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::sql::RowIdLifetime>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("java/sql/RowIdLifetime\0", "ROWID_VALID_OTHER\0", "Ljava/sql/RowIdLifetime;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "java-sql-RowIdLifetime"))]
pub fn ROWID_VALID_SESSION<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::sql::RowIdLifetime>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("java/sql/RowIdLifetime\0", "ROWID_VALID_SESSION\0", "Ljava/sql/RowIdLifetime;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "java-sql-RowIdLifetime"))]
pub fn ROWID_VALID_TRANSACTION<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::sql::RowIdLifetime>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("java/sql/RowIdLifetime\0", "ROWID_VALID_TRANSACTION\0", "Ljava/sql/RowIdLifetime;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "java-sql-RowIdLifetime"))]
pub fn ROWID_VALID_FOREVER<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::sql::RowIdLifetime>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("java/sql/RowIdLifetime\0", "ROWID_VALID_FOREVER\0", "Ljava/sql/RowIdLifetime;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
}
}