当前位置: 首页>>代码示例>>Java>>正文


Java Bind类代码示例

本文整理汇总了Java中ch.digitalfondue.npjt.Bind的典型用法代码示例。如果您正苦于以下问题:Java Bind类的具体用法?Java Bind怎么用?Java Bind使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


Bind类属于ch.digitalfondue.npjt包,在下文中一共展示了Bind类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: findUserIdentifierByRoleAndProjectId

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("SELECT USER_PROVIDER, USER_NAME FROM LA_USER "
		+ " INNER JOIN LA_PROJECT_USER_ROLE ON USER_ID = USER_ID_FK "
		+ " INNER JOIN LA_PROJECT_ROLE ON PROJECT_ROLE_ID_FK = PROJECT_ROLE_ID "
		+ " WHERE PROJECT_ROLE_NAME = :roleName AND LA_PROJECT_ROLE.PROJECT_ID_FK = :projectId AND "
		+ " LA_PROJECT_USER_ROLE.PROJECT_ID_FK = :projectId ORDER BY USER_PROVIDER, USER_NAME")
List<UserIdentifier> findUserIdentifierByRoleAndProjectId(@Bind("roleName") String roleName,
		@Bind("projectId") int projectId);
 
开发者ID:digitalfondue,项目名称:lavagna,代码行数:8,代码来源:PermissionQuery.java

示例2: scan_audit

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("insert into scan_audit(ticket_uuid, event_id_fk, scan_ts, username, check_in_status, operation) values(:ticketUuid, :eventId, :scanTs, :username, :status, :operation)")
Integer insert(@Bind("ticketUuid") String ticketUuid,
               @Bind("eventId") int eventId,
               @Bind("scanTs") ZonedDateTime timestamp,
               @Bind("username") String username,
               @Bind("status") CheckInStatus checkInStatus,
               @Bind("operation") ScanAudit.Operation operation);
 
开发者ID:alfio-event,项目名称:alf.io,代码行数:8,代码来源:ScanAuditRepository.java

示例3: loadSponsorData

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("select t.id t_id, t.uuid t_uuid, t.creation t_creation, t.category_id t_category_id, t.status t_status, t.event_id t_event_id," +
    " t.src_price_cts t_src_price_cts, t.final_price_cts t_final_price_cts, t.vat_cts t_vat_cts, t.discount_cts t_discount_cts, t.tickets_reservation_id t_tickets_reservation_id," +
    " t.full_name t_full_name, t.first_name t_first_name, t.last_name t_last_name, t.email_address t_email_address, t.locked_assignment t_locked_assignment," +
    " t.user_language t_user_language, t.ext_reference t_ext_reference, " +
    " s.user_id s_user_id, s.creation s_creation, s.event_id s_event_id, s.ticket_id s_ticket_id" +
    " from sponsor_scan s, ticket t where s.event_id = :eventId and s.user_id = :userId and s.creation > :start and s.ticket_id = t.id order by s.creation")
List<DetailedScanData> loadSponsorData(@Bind("eventId") int eventId, @Bind("userId") int userId, @Bind("start") ZonedDateTime start);
 
开发者ID:alfio-event,项目名称:alf.io,代码行数:8,代码来源:SponsorScanRepository.java

示例4: LA_AUTO

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("INSERT INTO LA_AUTO(VALUE) VALUES (:value)")
AffectedRowCountAndKey<Integer> insert(@Bind("value") String value);
 
开发者ID:digitalfondue,项目名称:npjt-extra,代码行数:3,代码来源:AutogeneratedKeyQueriesTest.java

示例5: findKeyByValue

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("SELECT ID FROM LA_AUTO WHERE VALUE = :value")
Integer findKeyByValue(@Bind("value") String value);
 
开发者ID:digitalfondue,项目名称:npjt-extra,代码行数:3,代码来源:AutogeneratedKeyQueriesTest.java

示例6: LA_CONF_DATE

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("INSERT INTO LA_CONF_DATE(CONF_KEY, CONF_VALUE) VALUES(:key, :value)")
int insertValue(@Bind("key") String key, @Bind("value") ZonedDateTime date);
 
开发者ID:digitalfondue,项目名称:npjt-extra,代码行数:3,代码来源:DateTimeQueriesTest.java

示例7: findByKey

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("SELECT * FROM LA_CONF_DATE WHERE CONF_KEY = :key")
Conf findByKey(@Bind("key") String key);
 
开发者ID:digitalfondue,项目名称:npjt-extra,代码行数:3,代码来源:DateTimeQueriesTest.java

示例8: findInstantByKey

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("SELECT CONF_VALUE FROM LA_CONF_DATE WHERE CONF_KEY = :key")
Instant findInstantByKey(@Bind("key") String key);
 
开发者ID:digitalfondue,项目名称:npjt-extra,代码行数:3,代码来源:DateTimeQueriesTest.java

示例9: findConfInstantByKey

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("SELECT * FROM LA_CONF_DATE WHERE CONF_KEY = :key")
ConfInstant findConfInstantByKey(@Bind("key") String key);
 
开发者ID:digitalfondue,项目名称:npjt-extra,代码行数:3,代码来源:DateTimeQueriesTest.java

示例10: findDateByKey

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("SELECT CONF_VALUE FROM LA_CONF_DATE WHERE CONF_KEY = :key")
ZonedDateTime findDateByKey(@Bind("key") String key);
 
开发者ID:digitalfondue,项目名称:npjt-extra,代码行数:3,代码来源:DateTimeQueriesTest.java

示例11: LA_CONF_BOOL

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("INSERT INTO LA_CONF_BOOL(CONF_KEY, CONF_BOOL, CONF_STR, CONF_INT) VALUES(:key, :confBool, :confStr, :confInt)")
int insertValue(@Bind("key") String key,
		@Bind("confBool") Boolean confBool,
		@Bind("confStr") Boolean confStr,
		@Bind("confInt") Boolean confInt);
 
开发者ID:digitalfondue,项目名称:npjt-extra,代码行数:6,代码来源:BooleanQueriesTest.java

示例12: findByKey

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("SELECT * FROM LA_CONF_BOOL WHERE CONF_KEY = :key")
BoolConf findByKey(@Bind("key") String key);
 
开发者ID:digitalfondue,项目名称:npjt-extra,代码行数:3,代码来源:BooleanQueriesTest.java

示例13: findConfBoolByKey

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("SELECT CONF_BOOL FROM LA_CONF_BOOL WHERE CONF_KEY = :key")
Boolean findConfBoolByKey(@Bind("key") String key);
 
开发者ID:digitalfondue,项目名称:npjt-extra,代码行数:3,代码来源:BooleanQueriesTest.java

示例14: LA_CONF_ENUM

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("INSERT INTO LA_CONF_ENUM (CONF_KEY) VALUES (:key)")
int insert(@Bind("key") TestEnum test);
 
开发者ID:digitalfondue,项目名称:npjt-extra,代码行数:3,代码来源:EnumQueriesTest.java

示例15: findByKey

import ch.digitalfondue.npjt.Bind; //导入依赖的package包/类
@Query("SELECT CONF_KEY FROM LA_CONF_ENUM WHERE CONF_KEY = :key")
TestEnum findByKey(@Bind("key") TestEnum test);
 
开发者ID:digitalfondue,项目名称:npjt-extra,代码行数:3,代码来源:EnumQueriesTest.java


注:本文中的ch.digitalfondue.npjt.Bind类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。