|
Hello
There is some info on http://wiki.javajigi.net/pages/viewpage.action?pageId=469 I think it chinese but i've found what i am looking for. I've created equinox db like this: drop table if exists app_user ; drop table if exists user_sequence ; create table app_user (id bigint not null primary key, first_name varchar(50), last_name varchar(50), birthday timestamp); create table user_sequence (value int not null); insert into user_sequence values(0); then i've uncommented <property name="columnName"><value>value</value></property> line in applicationContext-ibatis.xml then it worked . Thank you very much Regards.
Matt Raible made changes - 15/May/07 09:50 PM
MySQL is the default in AL 1.8.
Matt Raible made changes - 07/Sep/07 10:55 AM
|
|||||||||||||||||||||||||||||||||||||||||||||||||
drop table app_user;
drop sequence user_sequence;
create table app_user (id bigint not null primary key, first_name varchar(50), last_name varchar(50), birthday timestamp);
create sequence user_sequence;
For the first two lines, you can probably drop them and for the 2nd two, use "create table app_user if not exists".
Matt