Hi, may I suggest that you try to read up yourself. There's plenty of documentation, e.g.
http://www.castor.org, and more particular http://castor.org/jdo-starter-tutorial.html and Brett McLaughlin recently has published a document series on Castor at IBM's developerWorks, incl. JDO, available at http://www.ibm.com/developerworks/xml/library/x-xjavacastor4/ If you are using Spring ORM, have a look at http://castor.org/spring-orm-integration.html Happy reading. Regards Werner aan1 wrote: > How do i call it, so that the SQL queries generated by castor executes and > data is persisted. > > > Werner Guttmann wrote: >> Hi, >> >> can you please be a bit more explicit with your question. >> >> If you are using Castor JDO (a persistence framework) to persist your >> Java objects in a relational database, you will not have to write any >> SQL queries, as castor will do this for you (based upon the JDO mapping >> you provided to the JDOManager at start-up). >> >> If your question is more specific, please try to rephrase it. >> >> Regards >> Werner >> >>> Hi, >>> >>> Is it possible to generate SQL statements automatically to update the >>> Database? Or we should write the SQL statemnts to update the database. >>> >>> Thanks >>> Aan >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> >> > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

