CodeZine編集部では、現場で活躍するデベロッパーをスターにするためのカンファレンス「Developers Summit」や、エンジニアの生きざまをブーストするためのイベント「Developers Boost」など、さまざまなカンファレンスを企画・運営しています。
現在リリースされているJDBCドライバのほとんどは、OracleのJava環境での動作が想定されており、AndroidのDalvik環境での動作は考慮されていません。実際、動作しないドライバが数多く存在し、Androidでデータベースクライアントを作るのにJDBCを使えばよいとは簡単にはいえない状況です。本稿では具体的なサンプルコードをもとに、それらの状況解決の一助を提供します。 データベースベンダーが提供するJDBCドライバは、Androidでは動作するかどうかは分からない まず、いきなり本連載の目的と結論から書きます。 「Androidアプリケーションの開発言語はJavaなのだから、JDBCドライバを使ってデータベースにアクセスすればAndroid端末をクライアントとしてデータベースサーバーにアクセスできるはずだ」と想像している開発者も多いかもしれません。 しかし、話はそれほど単純では
Java Persistence API(JPA)を使ってオブジェクトの世界とリレーショナルの世界を結び付ける方法を一緒に学んでいきたいと考えています。前編では1つのテーブルに対してCRUD操作を行いました。後編となる今回は、複数のテーブル間の関連をEntityモデルで表現する方法と、それらを扱うためのJPQLについて説明します。 はじめに JPA(Java Persistence API)とは、オブジェクトの世界からリレーショナルの世界へ、あるいはその逆への変換を行うためのAPIです。 前編では、JPAを使用した1テーブルに対するCRUD操作を行うための実装方法を説明しました。後編となる今回は、複数のテーブルに対するCRUD操作について解説していきます。 ディレクションとカーディナリティのトラウマ オブジェクトモデルの世界でEntity間の関連は、ディレクションとカーディナリティという2
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く