[Hibernate] Reflection bug in Hibernate2.0.3

2003-11-03 Thread Donatas Čiukšys
Hello, Just tried my first application with Hibernate and SAPDB (using middlegen plugin release 3) and encountered one bug (or maybe feature): suppose you have table with column "N_VALUE" (SAPDB keeps everything in uppercase). So property name becomes "nValue", getter becomes "getNValue()". Reflec

Re: [Hibernate] Can I create persistent class from view?

2003-11-03 Thread Max Rydahl Andersen
yes :) Zhang, John wrote: I have a view called V_BSC_TRACKER (no primary key) that created by multiple tables. Can I create a mapping file (BSCTracker.hbm.html) and a persistent class for this view? john --- This SF.net email is sponsored by

[Hibernate] Object Relational Mapping Performance (Hibernate)

2003-11-03 Thread William R. Lorenz
All, I've recently taken to exploring Hibernate for use in Object Relational Mapping, and it seems overall to be quite the excellent package. I understand that the Apache Foundation also offers their OJB packages that will help to accomplish a similar end result, and I

[Hibernate] Can I create persistent class from view?

2003-11-03 Thread Zhang, John
I have a view called V_BSC_TRACKER (no primary key) that created by multiple tables. Can I create a mapping file (BSCTracker.hbm.html) and a persistent class for this view? john --- This SF.net email is sponsored by: SF.net Giveback Program.

Re: [Hibernate] Looking for DROP, IF EXIST

2003-11-03 Thread khote
are there any docs describing these as new "tasks" save me from an extensive search :-P I'm pretty much just set up to use Ant sql tasks to do it. I've downloaded that branch and compiled it successfully, with pdf and javadoc but I don't specifically see anywhere that these are mentioned. -

[Hibernate] AuditorInterceptor Update

2003-11-03 Thread Troy McKinnon
All,   I have been playing around with the AuditInterceptor and I noticed that it didn't work if you had 'dynamic-update' set.   It didn't recognise the modifications you do in the Interceptor because it has already determined the optimized update statement.   To fix this I did something li

Re: [Hibernate] one - one relation problem

2003-11-03 Thread Gavin King
Please post these kinds of questions to the user forum, and give sufficient information for someone to be able to help you. This is nowhere near enough. TIA Nikolay Ganev wrote: hi I use one to one relation in my project but I have the following problem: I made this relationship as is described

[Hibernate] one - one relation problem

2003-11-03 Thread Nikolay Ganev
hi I use one to one relation in my project but I have the following problem: I made this relationship as is described and the constraint is created in the database. BUT when I want to get a reference to the other object it doesnt work!!! here is the schema: bean A --- bean B(one to one) A a =

[Hibernate] [Ann] Hibernator 0.9.6 - Hibernate Eclipse plugin

2003-11-03 Thread Daniel Bradby
I have (finally) released another Hibernator and it includes some fixes which make it heaps more usable and stable. Changes * 0.9.6 - added cut/copy/paste/select all to query view - added ID to results view - progress monitor to connect and query - upgraded to Hibernate 2.0.3 - a

Re: [Hibernate] updating exiting objects with a new clone

2003-11-03 Thread Gavin King
It might not be what you want. You are supposed to not have the item loaded (as ALWAYS, that is a basic fundamental rule). Under the covers. it does a SELECT to see if the row exists and what version it is, before deciding to ignore, overwite, or error, depending upon the mode. Troy McKinnon

Re: [Hibernate] updating exiting objects with a new clone

2003-11-03 Thread Troy McKinnon
I have been trying to use the replicate, but the documentation is sparse and I think I am missing the point. Can you shoot me off a sample usage? existingItem = (DblInventory)session.load(DblInventory.class, dblItem.getSku()); session.replicate(existingItem, ReplicationMode.OVERWRITE);