Hibernate Validator question
by Maistry, Edgar E
Hello,
I'm trying the Hibernate validation framework and having problems
validating fields that are dependent on other fields. I've created my
own custom constraint but don't know how to pass dynamic data (ie:
dependant field value) to this custom constraint. Any help is
appreciated.
Regards Edgar
Standard Bank email disclaimer and confidentiality note
Please go to http://www.standardbank.co.za/site/homepage/emaildisclaimer.html to read our email disclaimer and confidentiality note. Kindly email disclaimer(a)standardbank.co.za (no content or subject line necessary) if you cannot view that page and we will email our email disclaimer and confidentiality note to you.
14 years, 2 months
Hibernate Search 421 [Exceptions happening in backend are unnoticed]
by Amin Mohammed-Coleman
Hi All
Emmanuel asked me to look at this issue (HSearch 421) where exceptions
happening in backend process which are going unnoticed. I was wondering if
I could get some advice/thoughts on how to tackle the problem. The issue
mentioned providing the user the option to decide how to handle exceptions
(for example queues, logs, etc), so I'm guessing there needs to be some
custom option that the user will need to set up, maybe something like this?
exception_handling_strategy=jms
exception_handling_strategy_jms_queue=
or if they wanted to log the exceptions:
exception_handling_strategy=log
or the user could create a custom class which implements a particular
interface to handle exceptions
exception_handling_strategy=custom
exception_handling_custom_class=ExceptionHandling
I could be completely wrong in the above approach and therefore would be
grateful for any input.
Cheers
Amin
14 years, 2 months
[infinispan-dev] Querying Infinispan -- Not fetching results
by Vidya Sethuraman
Hi,
I am able to load data in cache and display. When I try to query, I am
getting an empty list.
Following is the code snippet. Please let me know what I am doing wrong.
---------------------TestRecord.java----------------
@ProvidedId(bridge = @FieldBridge(impl = StringBridge.class))
@Indexed(index = "testRecord")
public class TestRecord implements Serializable {
// @Field(store = Store.YES)
private Date today = new java.util.Date();
// @Field(store = Store.YES)
private Timestamp time = new Timestamp(today.getTime());
@Field(store = Store.YES)
private String type;
@Field(store = Store.YES)
private String eventType;
@Field(store = Store.YES)
private int loggingLevel;
@Field(store = Store.YES)
private String message;
// @Field(store = Store.YES)
private String logTime = time.toString();
...// getters and setters
}
-----TestQuery.java----------
cache = cacheMgr.getCache();
QueryHelper qh = new QueryHelper(cache, new Properties(), TestRecord.class);
QueryFactory qf = new QueryFactory(cache, qh);
CacheQuery cq = qf.getBasicQuery("message", searchText);
auditLogRecordList = cq.list();
int hits = cq.getResultSize();
log.info("hits= "+ hits);
--------------------------------------------
The hits is appearing empty.
Regards,
Vidya
14 years, 2 months
Move Search to a multi-module build
by Hardy Ferentschik
Hi,
For HSEARCH-459 I would like to move Search to a multi-module setup
(similar to Validator).
This way the archetype sources will actually always get compiled and are
less likely to get outdated.
I think we talked before about potential benefits of having a multi-module
build for Search. Any objections
if I go ahead with this?
--Hardy
14 years, 2 months
Unable to update Core
by Hardy Ferentschik
Hi guys,
I am wondering whether someone else has problems updating Hibernate Core.
I keep getting:
A documentation/manual/src/main/docbook/de-DE/content/performance.po
svn: In directory 'documentation/manual/src/main/docbook/de-DE/content'
svn: Can't open file
'documentation/manual/src/main/docbook/de-DE/content/.svn/tmp/text-base/preface.po.svn-base':
No such file or directory
I tried a fresh checkout with the same result. I think it is related to
the following checkin:
http://fisheye.jboss.org/changelog/Hibernate/?cs=18777
Looking Preface.po I get the feeling that we are having a capitalization
problem.
Anyone having the same problem?
--Hardy
14 years, 2 months
Spanish translation for the Hibernate Reference Documentation
by David Marco
I want to announce the beginning of the translation to spanish language of the Hibernate Reference Documentation. I estimate around 8-12 weeks to finish, moment at I will announce the completion of the work. I will follow the same web desing of the english version, as I made previuously with the Spring Framework MVC step-by-step translation to spanish language hosted in my website.
Greetings,
David Marco.
14 years, 2 months
Jira migration
by Steve Ebersole
Just a heads up that atlassian will be performing a data migration of our Jira data into the new Jira Studio they and Contengix have set up for us. I do not yet know the exact date time but will let everyone know as I hear the details
-- Sent from my Palm Pre
steve(a)hibernate.org
http://hibernate.org
14 years, 2 months