Re: [Hibernate] Postgres, Tsearch2 and Hibernate ? HQL or stick with SQL ?

2009-01-05 Thread Emmanuel Bernard
It is not possible. But I encourage you to look at Hibernate Search for your full text needs. It does not rely on your database capabilities and works as expected in Grails. Also, please ask your questions at http://forum.hibernate.org Emmanuel On Jan 5, 2009, at 13:30, Mohamed wrote: Hi,

Re: [Hibernate] Fwd: [hibernate-commits] Hibernate SVN: r10885 -branches/Branch_3_2/HibernateExt/ejb-api/src/javax/persistence

2006-11-30 Thread Emmanuel Bernard
Yes it is relevant. Thanks for the fix. Max Rydahl Andersen wrote: > > I don't recall, but is our own javax.persistence src copy still relevant ? > > Just thinking if it has any value to fix stuff like the ones below ? > (shuffled javadoc) > > /max > > --- Forwarded message --- > From: [E

[Hibernate] HAN and HEM 3.2.0.CR2 released

2006-09-16 Thread Emmanuel Bernard
I'm pleased to announce the release 3.2.0.CR2 of Hibernate Annotations and Hibernate EntityManager. These releases are mainly bug fixes oriented. The next release will focus on documentation, last formal step to the GA, I expect very few bug fixes in between. Some noticeable informations: - co

Re: [Hibernate] pgadmin eats up memory

2006-08-16 Thread Emmanuel Bernard
you need to go to the user forum http://forum.hibernate.org for such help. This is the Hibernate development mailing list zqzuk wrote: > Hi, i m using Hibernate, Spring and Tapestry and PostgreSQL in this software. > the software includes extensive database opertaions incl query, update, > insert,

Re: [Hibernate] GenerationTime.INSERT and updatable property

2006-08-10 Thread Emmanuel Bernard
You are correct http://opensource.atlassian.com/projects/hibernate/browse/ANN-411 Thanks for having catch up that. Willem Voogd wrote: > > Hi All, > > I'm very new to hibernate and am using annotations for about a week now, > but i believe i stumbled upon some strange behaviour. > If i'm totally

Re: [Hibernate] useless parameter in SecondPass interface

2006-08-02 Thread Emmanuel Bernard
I don't use them. Will I ever need to integrate them? core CR3 is incompatible with annotations CR1 already so I guess you can do the change. Max Rydahl Andersen wrote: > Hi Emmanuel/Steve, > > The fix I just did for > http://opensource.atlassian.com/projects/hibernate/browse/HHH-1963 renders >

Re: [Hibernate] [hibernate-dev] derby support

2006-08-01 Thread Emmanuel Bernard
https://issues.apache.org/jira/browse/DERBY-1624 and also regarding some decent JPA certification https://issues.apache.org/jira/browse/DERBY-1623 There are probably other limitations hidden Steve Ebersole wrote: > I am working on enhancing Derby support a little bit, but have run into > an issu

Re: [Hibernate] jdk 1.5 code in h3 tests

2006-07-25 Thread Emmanuel Bernard
Max Rydahl Andersen wrote: > On Tue, 25 Jul 2006 15:44:28 +0200, Emmanuel Bernard > <[EMAIL PROTECTED]> wrote: > >> Ah my bad, I had a split of personality when I committed it. I'll >> move it today on Annotations. > > Thanks - what is your other persona

Re: [Hibernate] jdk 1.5 code in h3 tests

2006-07-25 Thread Emmanuel Bernard
Ah my bad, I had a split of personality when I committed it. I'll move it today on Annotations. Max Rydahl Andersen wrote: > > Hi guys, > > subject is breaking the nightly builds and other stuff ;) > > The test is relevant but can't be there as it is now. Any suggestions ? > Move it to the metada

Re: [Hibernate] Connection Handling in Isolater

2006-07-20 Thread Emmanuel Bernard
I think this is fixed already, have you checked the latest version? [EMAIL PROTECTED] wrote: > Hi all, > > I think org.hibernate.engine.transaction.Isolater is not handling connections > properly: > > The method JdbcDelegate is currently implemented as follows: > > public static class JdbcD

Re: [Hibernate] Hibernate Lucene integration

2006-07-16 Thread Emmanuel Bernard
Hi, Changes are propagated right after commit time. session.index() is a different beast, but the usecase is different: index() will be applied at flush time so that you can flush() and clear() "Any Default" Good question, I don't think we should index all properties by default: I guess we sh

[Hibernate] Forum

2006-07-16 Thread Emmanuel Bernard
http://forum.hibernate.org is slow and ill *General Error* Failed sending email :: PHP :: *_DEBUG MODE_* Line : 234 File : /www/forum.hibernate.org/htdocs/includes/emailer.php Note that the message is posted, but probably no mail is sent Maybe because of the heated temperatures on Europe ;-)

[Hibernate] Hibernate Lucene integration

2006-07-13 Thread Emmanuel Bernard
[Resent with a better formatting] I've worked a lot recently on the Hibernate Lucene integration. Here are the concepts, the new features and the todo list. Please comment and give feedbacks. My work is commited in branches/Lucene_Integration because we'll probably need to be based on Hibernate

Re: [Hibernate] Hibernate Lucene integration

2006-07-13 Thread Emmanuel Bernard
> I've worked a lot recently on the Hibernate Lucene integration. Here > are the concepts, the new features and the todo list. > Please comment and give feedbacks. > > My work is commited in branches/Lucene_Integration because we'll > probably need to be based on Hibernate 3.3 > > *Concepts* > E

Re: [Hibernate] Hibernate Tools 3.2.0.beta6 is out

2006-07-06 Thread Emmanuel Bernard
This is cool :-) Max Rydahl Andersen wrote: > > http://forum.hibernate.org/viewtopic.php?p=2313044#2313044 > > http://blog.hibernate.org/cgi-bin/blosxom.cgi/2006/07/06#hibernatetoolsbeta6released > > -- > -- > Max Rydahl Andersen > callto://max.rydahl.andersen > > Hibernate > [EMAIL PROTECTED] > h

Re: [Hibernate] Combination of 3 classes and display the result

2006-07-05 Thread Emmanuel Bernard
This is the Hibernate developement mailing list Please go to the user forum for such questions http://forum.hibernate.org edwarddurai wrote: > Hi, > > I have 3 tables in MSSQL Database. > > 1. Auditfinding > 2. AuditfindingsDisplayName > 3. AuditFindingsFieldList > > Fine. I have Created Mapping

Re: [Hibernate] Keep information on a per Sf basis or perEntityPersister basis

2006-07-02 Thread Emmanuel Bernard
no specific addon module info creeps into the core. > > /max > > > > > Max Rydahl Andersen wrote: > >> > >> On Sun, 02 Jul 2006 12:06:59 +0200, Emmanuel Bernard > >> <[EMAIL PROTECTED]> wrote: > >> > >> > My idea/need is to

Re: [Hibernate] Keep information on a per Sf basis or perEntityPersister basis

2006-07-02 Thread Emmanuel Bernard
Yes I could add some lucene specific metadata and let the SF constructor eat this information Max Rydahl Andersen wrote: > > On Sun, 02 Jul 2006 12:06:59 +0200, Emmanuel Bernard > <[EMAIL PROTECTED]> wrote: > > > My idea/need is to open some APIs to allow a event implem

Re: [Hibernate] Keep information on a per Sf basis or per EntityPersister basis

2006-07-02 Thread Emmanuel Bernard
Andersen wrote: > > On Sun, 02 Jul 2006 03:32:35 +0200, Emmanuel Bernard > <[EMAIL PROTECTED]> wrote: > > > Because the configuration can be reused and changed. > > The idea is that my lucene engine (ie hibernate event) needs it. > > This is actually very close to the

Re: [Hibernate] Keep information on a per Sf basis or per EntityPersister basis

2006-07-01 Thread Emmanuel Bernard
BTW Good question: do we need to get the Configuration Serializable? A configuration is like a SF. A SF does not really need to be serialized, only the Sessions can be moved across a cluster. Emmanuel Bernard wrote: > > Because the configuration can be reused and changed. > The idea i

Re: [Hibernate] Keep information on a per Sf basis or per EntityPersister basis

2006-07-01 Thread Emmanuel Bernard
Because the configuration can be reused and changed. The idea is that my lucene engine (ie hibernate event) needs it. This is actually very close to the notion of cache which is part of the core. Max Rydahl Andersen wrote: > > On Sat, 01 Jul 2006 20:02:46 +0200, Emmanuel Bernard >

[Hibernate] Keep information on a per Sf basis or per EntityPersister basis

2006-07-01 Thread Emmanuel Bernard
For the Lucene integration I need to keep track of the DirectoryProvider associated to a given entity. Basically DirectoryProvider are shared across several entities. I might also need to keep track of some informations on a per SF basis. Currently there is no good way to do it. It might make sen

Re: [Hibernate] Object-to-XMLDB mapping

2006-06-28 Thread Emmanuel Bernard
> These seem to cover the majority of use cases for Hibernate and XML. > > Does this make sense to you? Am I on the right track? > > -Frank > > > On Jun 27, 2006, at 5:41 AM, Emmanuel Bernard wrote: > >> I guess you'll have at least to reimplement EntityPersister

Re: [Hibernate] Object-to-XMLDB mapping

2006-06-27 Thread Emmanuel Bernard
I guess you'll have at least to reimplement EntityPersister and CollectionPersister. This is not gonna be a 5 mins work. Frank Cohen wrote: > I read in the Hibernate tutorial that there is a working group of > developers for new functions that will make it easier to use > Hibernate to work wi

Re: [Hibernate] Contributing to Hibernate project

2006-06-23 Thread Emmanuel Bernard
Which area are you interested in? Hibernate Core, Hibernate Annotations Hibernate Tools Harpreet wrote: > > Hi, > I would like to contribute to the hibernate project as a developer. I have > used hibernate in our last project and have a little bit of idea about it. > > Any pointers to from where

Re: [Hibernate] New error on Annotation query

2006-06-21 Thread Emmanuel Bernard
ecimalType and BigDecimalType. > > On HSQLDB, the discovered types were BigIntegerType and BigDecimalType > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Steve Ebersole > Sent: Wednesday, June 21, 2006 3:55 PM > To: Max A

Re: [Hibernate] New error on Annotation query

2006-06-21 Thread Emmanuel Bernard
ry it again from SVN. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Emmanuel Bernard > Sent: Sunday, June 18, 2006 10:21 PM > To: Hibernate development > Subject: [Hibernate] New error on Annotation query > > Has so

[Hibernate] org.hibernate.sql.GeneralTest missing class

2006-06-21 Thread Emmanuel Bernard
Product has not been commited All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248

[Hibernate] New error on Annotation query

2006-06-18 Thread Emmanuel Bernard
Has something changed that I haven't propagated in my code? org.hibernate.HibernateException: cannot perform autodiscovery on queries with non-scalar results at org.hibernate.loader.custom.CustomLoader$NonScalarResultColumnProcessor.performDiscovery(CustomLoader.java:453) at org.hibern

Re: [Hibernate] Query failing

2006-06-09 Thread Emmanuel Bernard
But it *is* working if item the alias is renamed i. Max Rydahl Andersen wrote: > > > No, this is a pure Hibernate EntityManager test, it has nothing to do > > with app servers. > > ah - i didn't see that getConstantValue thingy. > that error is because of terrible windows that forces the classloa

Re: [Hibernate] Query failing

2006-06-09 Thread Emmanuel Bernard
No, this is a pure Hibernate EntityManager test, it has nothing to do with app servers. Max Rydahl Andersen wrote: > > I have seen similar NoClassDef when dealing with classloaders in eclipse. > > It looks like the current context thread might not be behaving as it > should ? > Does this happen

[Hibernate] Query failing

2006-06-08 Thread Emmanuel Bernard
Steve, JPA compliance + the literal thing seems to give trouble to Query q = em.createQuery( "select item from Item item where item.descr like 'Microk_oft mouse' escape 'k' " ); ava.lang.NoClassDefFoundError: item (wrong name: org/hibernate/ejb/test/Item) at java.lang.ClassLoader.defineClass1

[Hibernate] New built-in type

2006-06-07 Thread Emmanuel Bernard
I've added a new built-in type to support char[] into VARCHAR. The current implementation serialize the array. And now I'm thinking about Character[] Mapping a array of Character into a VARCHAR does not make sense to me since there is no notion of null elements in a VARCHAR AFAIK. The RI does tha

Re: [Hibernate] what about failing tests?

2006-06-07 Thread Emmanuel Bernard
nbr of failure/errors after the patch <= nbr of failure/errors before the patch Szczepan Faber wrote: > I've just checked out the project from svn and after running tests, > there are 7 failures / 5 errors. > > Is it normal? :-) How can I be sure that my patch does not break anything? > > Thanks

Re: [Hibernate] Plan for a full text search facility built on top ofHibernate Lucene annotations

2006-06-01 Thread Emmanuel Bernard
I had some additional discussions with Gavin on that yesterday. What we should do first is: - implement the Lucene update system as a 2nd level cache provider. It's a much better approach to properly update Lucene indexes - write / reuse a Criteria API to query the lucene indexes which returns

Re: [Hibernate] FlushMode.NEVER to MANUAL

2006-05-27 Thread Emmanuel Bernard
+1 Let's deprecate NEVER Christian Bauer wrote: Can we rename FlushMode.NEVER to FlushMode.MANUAL in Hibernate 3.2? It is not only a better name, but likely the name that we can propose to the Glassfish team for a common EM flush mode. -

[Hibernate] Default to NoCacheProvider

2006-05-26 Thread Emmanuel Bernard
Since EhCache now requires a configuration per session factory (rather than a configuration for all), we probably should change the default cache provider to NoCacheProvider to avoid useless WARN or even worse CacheException. --- All the ad

Re: [Hibernate] problem with org.hibernate.ejb.packaging.JarVisitor

2006-05-24 Thread Emmanuel Bernard
I've applied your proposal. For my information, which websphere version are you using? Juraj Burian wrote: Hi folks, we have problem with method public static final URL getJarURLFromURLEntry(URL url, String entry) throws IllegalArgumentException in org.hibernate.ejb.packaging.JarVisitor. The p

Re: [Hibernate] problem with org.hibernate.ejb.packaging.JarVisitor

2006-05-17 Thread Emmanuel Bernard
The question is: does a "wsjar" behave exactly the same as a regular "jar" regarding the parsing protocol? They probably have a good reason to have introduced an other protocol (well maybe not). Can you confim that wsjar are actually propertly parsed by the Jar visitor? Juraj Burian wrote: Hi

[Hibernate] Hibernate Annotations and Hibernate EntityManager follows JPA/EJB 3.0 final specification

2006-05-16 Thread Emmanuel Bernard
Hibernate Annotations and Hibernate EntityManager has now reach the release candidate level (3.2.0.CR1). They not only comply with the Java Persistence / EJB 3.0 final specification, but also fix a bunch of bugs (and add a couple of new features) making them ready for prime time. Available for

Re: [Hibernate] Issue with pluggable functions

2006-05-10 Thread Emmanuel Bernard
can't do that unless JBoss 4.0.4 goes With a core 3.2.0.CR3 Max Rydahl Andersen wrote: On Wed, 10 May 2006 16:05:27 +0200, Emmanuel Bernard <[EMAIL PROTECTED]> wrote: > public static String renderWhereStringTemplate(String sqlWhereString, > Dialect dialect, *SQ

[Hibernate] Issue with pluggable functions

2006-05-10 Thread Emmanuel Bernard
public static String renderWhereStringTemplate(String sqlWhereString, Dialect dialect, SQLFunctionRegistry functionRegistry) Breaks binary compatibility with Hibernate Annotations 3.2.0.CR1

[Hibernate] use of where close on a join collection of elements]

2006-04-30 Thread Emmanuel Bernard
I thought this stuff was not allowed for the same reason filters were not allowed on many-to-many Has this limitation been removed? EJB-148 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done

[Hibernate]

2006-04-30 Thread Emmanuel Bernard
What is this where attribute in http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Re: [Hibernate] Hibernate Annotations and EntityManager with EJB3 XML overriding support

2006-04-27 Thread Emmanuel Bernard
.0.Beta10b Emmanuel Bernard wrote: Hibernate Annotations 3.1.0 beta10 and Hibernate EntityManager 3.1.0 beta8 are out. Included, support for EJB3 XML deployment descriptors (mostly complete except entity listeners) and the long awaited support for true Maps mapping (Map, and Map). This release will b

[Hibernate] Hibernate Annotations and EntityManager with EJB3 XML overriding support

2006-04-26 Thread Emmanuel Bernard
Hibernate Annotations 3.1.0 beta10 and Hibernate EntityManager 3.1.0 beta8 are out. Included, support for EJB3 XML deployment descriptors (mostly complete except entity listeners) and the long awaited support for true Maps mapping (Map, and Map). This release will be the last beta one. All major

Re: [Hibernate] Any timeframe for the resolution of ANN-1 (Map annotations support)

2006-04-12 Thread Emmanuel Bernard
something. As I'm not familiar with that code yet, if you have any direction / advise, please do. It'll save me a lot of time. Thanks, Sylvain. On Wed, 2006-04-12 at 00:27 +0200, Emmanuel Bernard wrote: I'm very busy these days on some personal areas and on EJB3 compliance. So

Re: [Hibernate] Any timeframe for the resolution of ANN-1 (Map annotations support)

2006-04-11 Thread Emmanuel Bernard
I'm very busy these days on some personal areas and on EJB3 compliance. So apart from a contributed patch, I can't see any quick resolution. I think Anthony is pretty busy too. Sylvain Vieujot wrote: Hello, We have moved a project that was hibernate+xdoclet based to hibernate annotations. We

[Fwd: Re: [Hibernate] Fwd: [Hibernate-commits] Hibernate Code SVN: r9731 - in trunk/HibernateExt/metadata/src: java/org/hibernate/cfg java/org/hibernate/lucene java/org/hibernate/validator test/org/h

2006-04-04 Thread Emmanuel Bernard
:02:39 +0200 From: Emmanuel Bernard <[EMAIL PROTECTED]> To: Max Rydahl Andersen <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Good remark, I'm going to move it Max Rydahl Andersen wrote: Why are we putting a Version c

Re: [Hibernate] FK creation in OneToOne

2006-03-31 Thread Emmanuel Bernard
This is obvious, I'm an asshole. Emmanuel Bernard wrote: when constrained=false, does not create FK. Why is that? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into we

[Hibernate] FK creation in OneToOne

2006-03-31 Thread Emmanuel Bernard
when constrained=false, does not create FK. Why is that? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer

Re: [Hibernate] BindHelper.findPropertiesByColumns behaviour is non deterministic due to HashSet being used.

2006-03-29 Thread Emmanuel Bernard
You have found a bug for sure, so JIRA can be used :-) Thanks for having tracking down the bug, that will help a lot. When you use an embeddedaccessor, you expect the information to be filled through alternative properties, hence a noop here. 3. was my initial thought, why do you think it won't

[Hibernate] Annotations 3.1beta9 and EntityManager 3.1beta7

2006-03-27 Thread Emmanuel Bernard
Hibernate Annotations 3.1beta9 is compliant with the latest EJB 3.0 specification. This release also include some long awaited features like support for association in embeddable objects. Special thanks to Paolo Perrotta and Davide Marchignoli that have contributed the new reflection layer whic

Re: [Hibernate] @Column(insertable=false, updatable=false) is broken

2006-03-26 Thread Emmanuel Bernard
, 2006 7:27 PM To: Emmanuel Bernard Cc: Hibernate development Subject: [Hibernate] @Column(insertable=false, updatable=false) is broken The following mapping: @Id @Column(name="blog_name") private String blogName; @OneToOne @Column(insertable=false, updatable=false)

Re: [Hibernate] Re: Embedded, AttributeOverrides and Transient properties

2006-03-25 Thread Emmanuel Bernard
Dmitri Colebatch wrote: Hi again, I'm trying to get my head around where the right place to put these changes is and wouldn't mind if someone could answer a couple of queries. I'm looking at AnnotationBinder.mustBeSkipped and thinking that I'd like to replace that with something along the line

Re: [Hibernate] Embedded, AttributeOverrides and Transient properties

2006-03-25 Thread Emmanuel Bernard
I must admit I'm having hard time understanding the usefulness of it. Overriding a physical mapping seems reasonable, but overriding a logical mapping seems really weird. That's like changing a @OneToMany into a @ManyToMany by overriding: I don't get the point. Dmitri Colebatch wrote: Hi all,

Re: [Hibernate] bytecode libraries

2006-03-23 Thread Emmanuel Bernard
Any specific reason why hibernate.bytecode.provider does not consider the value as a class name (if the shortcuts cglib and javassist are not resolved)? That would solve your problem and put it to the users shoulders Steve Ebersole wrote: So now that we have the BytecodeProvider abstraction,

Re: [Hibernate] (no subject)

2006-03-22 Thread Emmanuel Bernard
Hi, You should consider going to the user forum http://forum.hibernate.org search for id generator. Debidatta Choudhury, Bangalore wrote: Hi Friends, I am new to hibernate developemants, Actually i got a requirement where we need to autogenerated string ids for our tables i.e. something if the

Re: [Hibernate] branchng/tagging subversion repo

2006-03-22 Thread Emmanuel Bernard
You speak Chinese to me (no offense to the language, I just don't know it ;-) ). Is there any good snv how to I can use as a reference before tagging live? Steve Ebersole wrote: Given the current layout of the subversion repo, there is a little "quirkiness" to branching and tagging of which I

Re: [Hibernate] Hibernate sf dl and tools

2006-03-20 Thread Emmanuel Bernard
Done Max Rydahl Andersen wrote: On Mon, 20 Mar 2006 20:55:22 +0100, Emmanuel Bernard <[EMAIL PROTECTED]> wrote: So hide the package feel free - I have no idea on how ;) /max Max Rydahl Andersen wrote: On Mon, 20 Mar 2006 16:23:50 +0100, Emmanuel Bernard <[EMAIL PROTECTE

Re: [Hibernate] Horrible hack to get schema from Ejb3Configuration

2006-03-20 Thread Emmanuel Bernard
I will release soon actually. Need some times with a decent connection. Max Rydahl Andersen wrote: emmanuel just released a version of hibernate annotations where the configuration is accessible - and as soon as I get around it (or someone else beats me to it by submitting a patch) we will hav

Re: [Hibernate] Hibernate sf dl and tools

2006-03-20 Thread Emmanuel Bernard
So hide the package Max Rydahl Andersen wrote: On Mon, 20 Mar 2006 16:23:50 +0100, Emmanuel Bernard <[EMAIL PROTECTED]> wrote: Tools in SF (Hibernate project) are still alpha5 from 2005, it should be updated. read the docs - the tools are downloadable via the eclipse plugins. Peopl

[Hibernate] Hibernate sf dl and tools

2006-03-20 Thread Emmanuel Bernard
Tools in SF (Hibernate project) are still alpha5 from 2005, it should be updated. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and

Re: [Hibernate] configuration.buildMapping made public in Hibernate 3.2

2006-03-16 Thread Emmanuel Bernard
Max Rydahl Andersen wrote: Same thing seem to have happended with getEntityResolver() Yes, I need it and that make sense I think to make it public. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that exte

[Hibernate] callable at runtime

2006-03-15 Thread Emmanuel Bernard
Currently a user cannot set callable at runtime (no SQLQuery.setCallable() ). This is only doable through named query. Why is that? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into

Re: [Fwd: RE: [Hibernate] @Fetch]

2006-03-13 Thread Emmanuel Bernard
Hi, I don't fully understand you. My plan was to add at least org.hibernate.annotations.Lazy and org.hibernate.annotations.Fetch They will keep the standard/extension separation clean. Emmanuel Bernard wrote: Original Message Subject: RE: [Hibernate] @Fetch

[Fwd: RE: [Hibernate] @Fetch]

2006-03-13 Thread Emmanuel Bernard
Original Message Subject:RE: [Hibernate] @Fetch Date: Mon, 13 Mar 2006 15:12:44 +1000 From: dchannon <[EMAIL PROTECTED]> To: 'Emmanuel Bernard' <[EMAIL PROTECTED]> I feel its best not to confuse what is within the standard and what i

Re: [Hibernate] @Fetch

2006-03-12 Thread Emmanuel Bernard
Actually @Lazy has the same issue TRUE, FALSE, PROXY, NO-PROXY, EXTRA @Fetch SELECT, JOIN, SUBSELECT Emmanuel Bernard wrote: I'll add a @Fetch annotation Some FetchType are available on collections only, some on single association only. Do you think I should have 2 different @

[Hibernate] @Fetch

2006-03-12 Thread Emmanuel Bernard
I'll add a @Fetch annotation Some FetchType are available on collections only, some on single association only. Do you think I should have 2 different @Fetch annotations (one for each), or should I mix all FetchType in one single annotation? Thoughts?

Re: [Hibernate] Componets equals null

2006-03-08 Thread Emmanuel Bernard
you should probably use a UserType to code such application semantic. Pablo Nussembaum wrote: Hi, I made a simple modification in the ComponentType class to consider null component equals to a components with all his properties nulls. I do this to address 2 problems I have: 1. For sim

[Hibernate] setfirstResult() / setMaxResult() and collection fetching

2006-02-28 Thread Emmanuel Bernard
Wouldn't it be possible to implement that through a scrollable resultset when a collection fetch is involved. This would limit the amount of data in memory. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that

Re: [Hibernate] help creating an ID Generator

2006-02-28 Thread Emmanuel Bernard
Guys this is the dev mailing list, not the user forum. Charles Harvey III wrote: Ok. This makes sense. That was what I was getting from that page as well. How about this though... Part of the string that I am creating as the ID is part of the request I am making in the browser. 06-Q1-105-55

[Hibernate] @OneToOne(optional=true)

2006-02-22 Thread Emmanuel Bernard
Should I generate the unique constraint in this case for the FK column some DB complains about nullable column not beeing able to be a involved in a unique constraint. Which make sense from a theory POV So should I relax the unique contraint creation when optional = true is set? http://openso

Re: [Hibernate] Subversion move

2006-02-21 Thread Emmanuel Bernard
Thursday would be better for me, but I think I can handle Friday Steve Ebersole wrote: The JBossLabs Subversion repo is ready for our move; speak now, or forever hold your peace ;) I need to know which HibernateExt stuff to move over; I believe there is an issue with moving everything over, rig

[Hibernate] @MapKey and quoted columns

2006-02-14 Thread Emmanuel Bernard
currently the @MapKey annotation is done by creating formula(s) to refer the same column(s) as the pointed property. However when columns are quoted, I cannot create the formula equivalent since the dialect (for quote) is not known a configuration time. Anybody ge an idea?

[Hibernate] o.h.mapping.Subclass

2006-02-10 Thread Emmanuel Bernard
should be abstract in theory, shouldn't it? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the

Re: [Hibernate] default HEM key generator

2006-02-08 Thread Emmanuel Bernard
This is planned for Hibernate 3.2 Bill Burke wrote: Can we have a default HEM key generator that will not force an insert when using FlushMode.NEVER? Like Table or Sequence or some other hibernate specific generator? I've been working through some example applications for my book and am fin

Re: [Hibernate] hibernate 3.2

2006-02-02 Thread Emmanuel Bernard
Hadn't we choose to keep most advanced work on HEAD. In this case branch for 3.1.x? This is a very old discussion that seems to come out of my memory. Steve Ebersole wrote: BTW I have just branched cvs for the purposes of 3.2 development, as 3.2 is expected to introduce a number of API changes

Re: [Hibernate] ClassLoader injection

2006-01-31 Thread Emmanuel Bernard
ource("META-INF/persistence.xml") may/will return multiples. Also, you may want to introspect the class for annotations before you decide what needs to be bytecode massaged. As for getClassLoader()? I'm not sure of the reasoning. I know Scott has some spec input on this. Maybe we sho

[Hibernate] Someone with SunOne 8 please try something

2006-01-31 Thread Emmanuel Bernard
Can you lookup by java:appserver/TransactionManager Do you get a TransactionManager? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searchin

Re: [Hibernate] ClassLoader injection

2006-01-31 Thread Emmanuel Bernard
Year I'm aware of that Bill :-) But in this case, and like Max said, why on earth the PersistenceUnitInfo has a getClassLoader() method instead of using the context CL? Bill Burke wrote: Max Rydahl Andersen wrote: If it is for the spec then I would argue that the spec is very wrong since

[Hibernate] ClassLoader injection

2006-01-31 Thread Emmanuel Bernard
Hi guys, For EJB3 and app server integration, I need to inject a specific classloader that may load all classes and resources needed by Hibernate. There are 2 distinct needs for a classloader in Hibernate Configuration time (ie until the SF is built) Runtime (session time use) For Configuratio

Re: [Hibernate] Enabled Edit in forums

2006-01-26 Thread Emmanuel Bernard
For what it worth, I don't like the idea. Too much work in rescanning potential posts. Christian Bauer wrote: I've just enabled the Edit function for all forum users, so they can change their own postings. I get too many private emails from people who want to do that, so we might as well enab

Re: [Hibernate] bind variables Question

2006-01-20 Thread Emmanuel Bernard
I didn't know you were an hypnotist ;-) Steve Ebersole wrote: You want the user forum: http://forum.hibernate.org/ *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Srinivas Jadcharla *Sent:* F

[Hibernate] Hibernate Annotations and EntityManager released

2006-01-20 Thread Emmanuel Bernard
Hibernate Annotations 3.1beta8 and Hibernate EntityManager 3.1beta6 are out. The last releases are compliant with the EJB3 Public Final Draft and require Hibernate Core 3.1.1 See the release notes for more detailed changes http://sourceforge.net/project/shownotes.php?group_id=40712&release_id=3

Re: [Hibernate] How to map primary key of one table to two foreign keys of another table?

2006-01-17 Thread Emmanuel Bernard
Please go to the user forum, http://www.hibernate.org/20.html This is the developer mailing list. Emmanuel Narayanan, Shiva wrote: Following tables are present in our database. Table 1 Part_Id - int identity (10) - Primary key Part_Code -

Re: [Hibernate] Fwd: [Hibernate-commits] Hibernate3 build.xml,1.68,1.69 changelog.txt,1.67,1.68 readme.txt,1.26,1.27

2006-01-13 Thread Emmanuel Bernard
OK this is fixed now. Sorry guys. Max Rydahl Andersen wrote: If we release now native queries using return-collection and return-join will *not* work. emmanuel, what breaks in your end if I roll your "fix" back ? /max --- Forwarded message --- From: [EMAIL PROTECTED] To: [EMAIL P

Re: [Hibernate] ImprovedNamingStrategy

2006-01-10 Thread Emmanuel Bernard
e backward compatibility. Until now if I use the xml configuration or annotations, hibernate generates the same db schema with this change this not true any more. Pablo Nussembaum Emmanuel Bernard wrote: 2) is unrelated. You were not able to work with custom NS in annotations before, you shoul

Re: [Hibernate] ImprovedNamingStrategy

2006-01-10 Thread Emmanuel Bernard
_menu_item" and with the 3.1-release is "menu_item_children". I prefer the old behavior. -- Pablo Nussembaum Gavin King wrote: Well, let's see if anyone complains... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent:

[Hibernate] [Fwd: [Hibernate-issues] [Hibernate-JIRA] Commented: (ANN-56) Support mixed field/property access strategies for an Entity]

2006-01-03 Thread Emmanuel Bernard
: Emmanuel Bernard (JIRA) <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-56?page=comments#action_21528 ] Emmanuel Bernard commented on ANN-56: - you can define the @AccessType annotaiton on an

[Hibernate] and not compatible

2005-12-26 Thread Emmanuel Bernard
What's the rational behind that? This is a massive pain in the ass for Annotations. @Entity(access = AccessType.FIELD) @Inheritance(strategy = InheritanceType.JOINED) @SecondaryTable(name="ExtendedPerson") class Person implements Serializable { ... } @Entity(access = AccessType.FIELD) @Primary

Re: [Hibernate] ImprovedNamingStrategy

2005-12-19 Thread Emmanuel Bernard
I person did so far. Gavin King wrote: Well, let's see if anyone complains... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Tuesday, December 20, 2005 7:06 AM To: Hibernate development Subject: [Hibe

[Hibernate] ImprovedNamingStrategy

2005-12-19 Thread Emmanuel Bernard
When working on the new naming strategy, I've broken the use of ImprovedNamingStrategy. now leads to /edit_status_edit_pid/ instead of /edit_pid. /Should I fix that for the sake of backward compatibility, or is it OK?/ / --- Thi

[Hibernate] Weird issues on JDK5 and Linux

2005-12-19 Thread Emmanuel Bernard
Can you have an expert look at this one please, I'm a bit confused. http://opensource.atlassian.com/projects/hibernate/browse/HHH-1293 thanks --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop

Re: [Hibernate] reveng optimistic locking

2005-12-14 Thread Emmanuel Bernard
Can(t you write a pluggable guess strategy, like the namingstrategy but for guessing. This open the doors for martian models Max Rydahl Andersen wrote: Hi, One caveat with reveng to the seam app is that we dont currently have support for detecting optimistic locking for the generated classe

[Hibernate] Hibernate Annotations 3.1beta7 and Hibernate EntityManager 3.1beta5 released

2005-12-13 Thread Emmanuel Bernard
Hibernate Annotations 3.1beta7 is a release compatible with Hibernate 3.1final. In addition to the usual bug fixes, focus has been made on Hibernate Validator and Hibernate Lucene Integration enhancements. The EJB3 naming strategy is now fully customizable using the Hibernate NamingStrategy. Se

[Hibernate] HQL UNION

2005-12-08 Thread Emmanuel Bernard
I guess we should consider supporting UNION in HQL at least for report queries. It makes a lot of sense when you're working on report queries and customers have to fallback to plain JDBC for that. Since we probably some kind of mechanism for union already, why not push it even further... ---

[Hibernate] NamingStrategy for indexes

2005-11-29 Thread Emmanuel Bernard
WDYT of this one http://opensource.atlassian.com/projects/hibernate/browse/ANN-160 If we decide it's a good idea, we should do it before H3.1 final, but in this case FK naming strategy would make sense too. To be honest, I never liked the idea of setting indexes through hibernate, so I'm not be

Re: [Hibernate] Fwd: [Hibernate-issues] [Hibernate-JIRA] Resolved: (EJB-35) Support custom NamingStrategy as property.

2005-11-22 Thread Emmanuel Bernard
:52:30 +0100, Emmanuel Bernard <[EMAIL PROTECTED]> wrote: In HEM I have to since the configuration process is standardised, The only way to provide this feature is through configuration. Yes I know it is required for HEM and just wondering why we dont also just add it to hibernate core

Re: [Hibernate] Fwd: [Hibernate-issues] [Hibernate-JIRA] Resolved: (EJB-35) Support custom NamingStrategy as property.

2005-11-22 Thread Emmanuel Bernard
--- Forwarded message --- From: "Emmanuel Bernard (JIRA)" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: Subject: [Hibernate-issues] [Hibernate-JIRA] Resolved: (EJB-35) Support custom NamingStrategy as property. Date: Mon, 21 Nov 2005 21:41:55 +0100 [ http://opensource.atlass

  1   2   3   4   >