File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

explicity specifying name for hsqldb schema within hibernate

 
Stuart Rogers
Ranch Hand
Posts: 141
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems the default name for a schema in hsqldb is "PUBLIC" . This I discern looking in smdv.script


which in turn gets created due to what's in smdv.cfg.xml



and ties with StudentOfDistrict class



Question: what and where do I put a blurb to explictly name the hsqldb schema to be "SMDV" instead of the default "PUBLIC" ?
This would also be needed when you need to have more than one schema in hsqldb ( similar to having more than one database in, say, MySQL)


TIA,

Still-learning Steve
 
Arun Kumarr
Ranch Hand
Posts: 661
Eclipse IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can specify the schema in your HBM file.
 
Stuart Rogers
Ranch Hand
Posts: 141
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
syntax? or better yet, an example for schema "foobar"?


Thanks for replying!


Still-learning Steve
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic