From: Konstantin P. <kpr...@ya...> - 2002-12-13 09:12:21
|
Hi all, Yesterday I put together a small demo showing hibernate in action: 1. XDoclet generated mappings & service descriptor 2. Session bean accessing hibernate 3. Small client. This works with JBoss. Schema snipper for hypersonic: ---%<-------- CREATE TABLE HIBERNATE_CUSTOMER(ID INTEGER NOT NULL IDENTITY PRIMARY KEY,CUSTOMERDESCRIPTION VARCHAR,CUSTOMERNAME VARCHAR,CUSTOMERNUMBER VARCHAR,UNIQUE(ID)) CREATE UNIQUE INDEX PK_HIBERNATE_CUSTOMER ON HIBERNATE_CUSTOMER(ID) -----%<--------- This demo will need current CVS version of xdoclet, and also current hibernate version. ant deploy compiles and depoys SessionBean & hibernate service, then you can use startup script in client directory. YOu can download it from: http://www.pribluda.de/hibernate-test.tar.gz regards, ===== Konstantin Priblouda ( ko5tik ) Freelance Software developer < http://www.pribluda.de > < play java games -> http://www.yook.de > < render charts online -> http://www.pribluda.de/povray/ > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |