Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 20 15:52
    yrodiere synchronize #2215
  • Feb 20 15:43
    yrodiere closed #2214
  • Feb 20 15:42
    yrodiere edited #2215
  • Feb 20 15:42
    yrodiere labeled #2215
  • Feb 20 15:42
    yrodiere unlabeled #2215
  • Feb 20 15:42
    yrodiere labeled #2215
  • Feb 20 15:42
    yrodiere opened #2215
  • Feb 20 15:06
    yrodiere synchronize #2213
  • Feb 20 14:54
    yrodiere edited #2214
  • Feb 20 14:54
    yrodiere unlabeled #2214
  • Feb 20 14:54
    yrodiere labeled #2214
  • Feb 20 14:53
    yrodiere opened #2214
  • Feb 20 14:53
    yrodiere labeled #2214
  • Feb 20 14:47
    yrodiere synchronize #2213
  • Feb 20 14:45
    yrodiere opened #2213
  • Feb 20 14:45
    yrodiere labeled #2213
  • Feb 20 14:12
    yrodiere synchronize #2212
  • Feb 20 14:12
    yrodiere synchronize #2211
  • Feb 20 13:24
    yrodiere labeled #2212
  • Feb 20 13:24
    yrodiere unlabeled #2212
[Github] hferentschik pushed 2 commit(s) to hibernate/hibernate-search https://github.com/hibernate/hibernate-search/compare/a8c5761f1c9c...e826b5e6331e
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/7/
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/8/
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/9/
[Github] hferentschik pushed 6 commit(s) to hibernate/hibernate-search https://github.com/hibernate/hibernate-search/compare/e826b5e6331e...f4ec4c7a93f0
[Github] Sanne pushed 5 commit(s) to hibernate/hibernate-search https://github.com/hibernate/hibernate-search/compare/7a819a6fbae8...911727a3456b
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/10/
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/11/
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/12/
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/13/
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/14/
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/15/
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/16/
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/17/
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/18/
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/19/
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/20/
[Jenkins] Job hibernate-validator-master-JDK8preview finished with status: failure http://ci.hibernate.org/job/hibernate-validator-master-JDK8preview/21/
[Github] hferentschik pushed 3 commit(s) to hibernate/hibernate-search https://github.com/hibernate/hibernate-search/compare/f4ec4c7a93f0...6de31fca1cce
[Github] hferentschik pushed 1 commit(s) to hibernate/hibernate-search https://github.com/hibernate/hibernate-search/compare/6de31fca1cce...8955ae82f55f
Sanne Grinovero
@Sanne
khodabandelu
@khodabandelu
how i can validate unique constrained with hibernate validator ?
k6777r
@k6777r
anyone online
Armin Naderi
@naderi_armin_twitter
unexpected token: generatedAlias0
Brandon Vulaj
@bvulaj
Can anyone in here help me with some embedded spatial practices?
dennisrojaspereira
@dennisrojaspereira
Hi all, Do you know about a function of class or tool then list all active queries
in hibernate ?
Srikanth Machavaram
@srikanth9000093071
Hello guys.Currently I'm doing an application with hibernate search and spring.In that I created an admin panel for creating index.So what is happening is , It is generating index successfully.But the new changes are not reflecting means once indexing process is completed if I am doing any hibernate ORM operation that new records are not fetching from hibernate search.

This my snippet .I am calling this from spring controller
@Transactional
public boolean createIndex() {
Session session = sessionFactory.openSession();
boolean flag=false;
FullTextSession fullTextSession = Search.getFullTextSession(session);
try {
MassIndexer createIndexer = fullTextSession.createIndexer();
createIndexer.startAndWait();
flag=true;
} catch (InterruptedException e) {
e.printStackTrace();
}
return flag;

}

Md Tausif Ahmad
@mdtausifahmad
Hi,
I have 4 modals in our application and they have no relation with each other. I want to make only one index with some of fields from each modals. can we acheive this in Hibernate search?
onlysolace
@onlysolace
Hello
I am in the process of building a notification system for a website. These notifications will generally take the form of "User X has replied to you on the forums"
but there are other kinds of notifications too
I was wondering if it would be a good idea to use query caching for retrieving notifications for users upon log in
Jordi Casadevall Franco
@JOGUI22
Hello people, do we have some news when Elastic Search 6 will be usable with hibernate search? Now the last compatible version of Elastic Search is 5.x. Thank You!!!
jimmy1329
@jimmy1329
image.png
how to wipe off "()" in the sql in Hibernate?
Rupert Schaffarz
@rfsch

Hi I would like to know if when using JPQL it is possible to filter child collections of a parent (one to many) returned from a query ? By default only the parent objects can be filtered but the child collections are unfiltered.

In particular I would like to filter the elements in child collections two levels deep. A has collection of B. B has collection of C.
The query should return all A, B and C which meet the query and the collection of B's in A and C's in B should also only contain elements meeting the query.

So far I have been able to filter the B's in the child collection of A using join fetch. But was unable to filter the C's using join fetch.

Any ideas if this is possible ? Or do you have a suggestion how to solve this requirement.

Thanks!

prog20901
@prog20901

I have two tables

Employee Table
Address Table
Employee Table hbm definition will have the following

<id name="empGkey" column="primarykey" type="java.lang.Long" unsaved-value="null">
<generator class="native"/>
</id>

<many-to-one name="empAddress" column="address" class="com.region.Address" cascade="all" unique="false"> </many-to-one>
Address Table hbm definition will have the following

<id name="addressGkey" column="primarykey" type="java.lang.Long" unsaved-value="null">
<generator class="native"/>
</id>
<one-to-one name="addressEmp" class="com.region.Employee" property-ref="empAddress">
</one-to-one>
Currently the application throws the following exception when execute the following HQL query

from Address where primarykey = '1232';

More than one row with the given identifier was found: 1232, for class:
com.region.Employee (compact stack trace follows)
org.hibernate.loader.entity.AbstractEntityLoader.load
(AbstractEntityLoader.java:92)
Clarification

  1. Will Address primary key will always have one similar primary key in
    Employee?
  2. Will the Address primary key might differs from Employee primary key
    column
  3. Will the Address primary key will always have one similar address column
    value in Employee table?
  4. When this issue might come?
  5. How to fix the problem
    Thanks.
Chris Cranford
@Naros
@prog20901 You may want to reach out to the Hibernate Search guys on Zulip; that's where they do most of their support now-a-days.
You can contact them by hibernate.zulipchat.com
Yoann Rodière
@yrodiere
@prog20901 @Naros This doesn't seem related to Hibernate Search, but anyway... same goes for ORM developpers. You should try again here: https://hibernate.zulipchat.com/#narrow/stream/132096-hibernate-user
prog20901
@prog20901
@Naros thanks a lot
@yrodiere thanks a lot
@tul
@atulmundaware
Hi,
can anyone help me with this problem
I am having Lucene indexing with hibernate search but on production, in a week the service which has a Lucene indexing is getting stuck. memory usage is shotting 80-90 %
maybe there is a memory leak related to hibernate-search.
can anyone help me with how can I debug this issue.
thanks in advance.
FullTextSession fullTextSession = Search.getFullTextSession(getSession());
SearchFactory searchFactory = fullTextSession.getSearchFactory();
QueryParser parser = new MultiFieldQueryParser(new String[] { "searchTermFieldName" },
        searchFactory.getAnalyzer(ModelClassName.class));
org.apache.lucene.search.Query luceneQuery;
try {
    luceneQuery = parser.parse(query);
    org.hibernate.Query fullTextQuery = fullTextSession.createFullTextQuery(luceneQuery,
            ModelClassName.class);
    list = fullTextQuery.list();
} catch (ParseException e) {
    LOG.info("Exception in lucene parsing" + e);
}
this is my code snippet
prog20901
@prog20901

Hi,

I have huge text files - raw text. I want to convert them to a different language. Google/Microsoft/Yandex is best for online conversions. However we need to copy and paste and moreover it has size limitation as well.

Is there is any tool which i can use for bulk conversion at one shot which can give the output in multiple files.

Thanks in advance.

prog20901
@prog20901
I'm developing a project in spring boot. How to distribute to run in any OS without installation ?? basically want to bundle with embedded server. user has to click the .exe or linux or mac execuable to run the server...Then he has to go to browser and see the app....Please help me..
can we http://undertow.io/blog/index.html for portability for any OS...which is the best option to go for portable web server bundle...The user has to run without any installation...
instead of building standalone app.wanted to get the benefits of the web application
@tul
@atulmundaware
Hi, can one help me with the following issue
i am unable to inject @Value in my test case with providing @TestPropertySource("classpath:application.yaml") also tried @PropertySource("classpath:application.yaml")
@tul
@atulmundaware
these are the annotation on the class
@SpringBootTest
@TestPropertySource("classpath:application.yaml")
class SomeClassTest {