- Timestamp:
- 08/09/08 19:36:31 (4 months ago)
- Location:
- lang/java/slideboard/trunk
- Files:
-
- 3 added
- 2 modified
-
sql/HSQLDB Server.launch (added)
-
sql/create.sql (modified) (3 diffs)
-
sql/data (added)
-
sql/data/test.properties (added)
-
src/main/resources/jdbc.dicon (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/java/slideboard/trunk/sql/create.sql
r17181 r17290 1 1 2 2 CREATE TABLE post ( 3 post_id integer generated by default as identity,3 id integer generated by default as identity, 4 4 title varchar(255) not null, 5 5 description varchar(255) not null, … … 8 8 9 9 CREATE TABLE author ( 10 author_id integer generated by default as identity,10 id integer generated by default as identity, 11 11 name varchar(255) not null, 12 12 department varchar(255) not null, … … 14 14 ); 15 15 16 INSERT INTO post VALUES(1, 'Post(1)', 'This is a test post.', 0); 17 INSERT INTO post VALUES(2, 'Post(2)', 'This is a test post.', 0); 18 INSERT INTO post VALUES(3, 'Post(3)', 'This is a test post.', 0); 16 INSERT INTO post VALUES(1, 'Post1', 'This is a test post.', 3); 17 INSERT INTO post VALUES(2, 'Post2', 'This is a test post.', 2); 18 INSERT INTO post VALUES(3, 'Post3', 'This is a test post.', 1); 19 20 INSERT INTO author VALUES(1, 'Taro', 'My Home Security', 'taro@example.com'); 21 INSERT INTO author VALUES(2, 'Jiro', 'Your Home Security', 'jiro@example.com'); 22 INSERT INTO author VALUES(3, 'Ikzo', 'My Home Security', 'ikzo@example.com'); 23 24 COMMIT; -
lang/java/slideboard/trunk/src/main/resources/jdbc.dicon
r17155 r17290 12 12 </property> 13 13 <property name="URL"> 14 "jdbc:hsqldb:file:" 15 + @org.seasar.framework.util.ResourceUtil@getBuildDir('app.dicon').getCanonicalPath() 16 + "/data/test" 14 "jdbc:hsqldb:hsql://localhost/test" 17 15 </property> 18 16 <property name="user">"sa"</property>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)