> But I'm asking my self: why Reverse Mapping tool (with customizing) works in > such way? :)
Hi, Based on my understanding, it sounds like you've told the reverse mapping tool to use the name 'DeityT' when creating an entity for the 'Diety' table. So, the reverse mapping tool is doing what you requested. When you write JPQL queries, the queries must be written with the entity names, not the table names. The entity name is by default the same as the class name, and since the class name is DietyT, per your customization, that's what you need to query against. -Patrick On 10/2/07, AlexD. <[EMAIL PROTECTED]> wrote: > > Thank you, Michael. > > It works! > But I'm asking my self: why Reverse Mapping tool (with customizing) works in > such way? :) > > Best regards, > Alex > -- > View this message in context: > http://www.nabble.com/Problem-with-table%27s-alias-tf4554663.html#a13003017 > Sent from the OpenJPA Users mailing list archive at Nabble.com. > > -- Patrick Linskey 202 669 5907
