Guys,


The hibernate docs about using schemas are in:



hibernate 2.x



Please refer to sections 5.1.2 hibernate-mapping, 5.1.3 class and 6.2 Mapping a 
Collection



hibernate 3.x



Please refer to sections 6.1.2 hibernate-mappings, 6.1.3 class and 7.2 
Collection mappings



This feature works the same in v2 and v3.



Im almost certainly sure that this feature  highly depends on the RDBMS and the 
JDBC Driver. (Notice that not all RDBM's have suport for schemas and there are 
some RDBMS like MaxDB that have support for schemas but when you connect to the 
database your are using some credentials and the schema is resolved upon your 
user name, so ones logged in, you are in your users schema (the one u used to 
login) and there is no way ("I haven't found the way") your user can do 
anything with database objects in other schemas)



After analyzing hibernate docs I think that implementing this feature  in 
andromda will lead to a namespace property (for the hibernate mapping file) and 
to a new tagged value for <<Entity>> classes, but this is just a guess.



Hope this helps, please contact me in case you need some further input.



Kind Regards,
--
Diego Bendlin
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2283#2283
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to