File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes # symbol appended to table name in case JOINED strategy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "# symbol appended to table name in case JOINED strategy" Watch "# symbol appended to table name in case JOINED strategy" New topic
Author

# symbol appended to table name in case JOINED strategy

kemparaju kn
Greenhorn

Joined: Feb 08, 2009
Posts: 2

I am having two tables like SalaryAccount extend Account. For this i am using joined strategy. Account has one to one circular dependency with Other table. So when i am trying to delete, Account entry, i am trying to update a foreign key column related to "Other" table. That time hibernate is adding # symbol in front of Account. So database is complining invalid table. This is happening only for joined strategy. Please let me know if there is any problem with Joined strategy.
 
Don't get me started about those stupid light bulbs.
 
subject: # symbol appended to table name in case JOINED strategy