ObjectDB Database Search

1-50 of 200 results

jakarta.persistence.criteria.CriteriaBuilder.like(Expression,String,Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate like (    Expression x ,    String pattern ,    Expression escapeChar ... expression pattern - string escapeChar - escape character expression Returns: like predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.like(Expression,String,char)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate like (    Expression x ,    String pattern ,    char escapeChar ) Create ... expression pattern - string escapeChar - escape character Returns: like predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.like(Expression,Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate like (    Expression x ,    Expression pattern ) Create a predicate for testing ... expression Returns: like predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.like(Expression,String)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate like (    Expression x ,    String pattern ) Create a predicate for testing whether the expression satisfies the given pattern. Parameters: x - string expression pattern - string Returns: like predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.like(Expression,Expression,Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate like (    Expression x ,    Expression pattern ,    Expression escapeChar ... - string expression pattern - string expression escapeChar - escape character expression Returns: like predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.like(Expression,Expression,char)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate like (    Expression x ,    Expression pattern ,    char escapeChar ) Create ... expression pattern - string expression escapeChar - escape character Returns: like predicate. Since: Jakarta Persistence (JPA) 1.0

LIKE wildcard with single character "_" behaves like a "*"

Hi,  I've been using pattern matching with wildcards, and encountered an issue when dealing with the underscore character. The issue is that if it is placed at the end of the string, the "_" behaves like a "*". For example, if I have a query SELECT * FROM table1 WHERE (col1.name LIKE "ke

like operator (String)

: select i from User i where i.status = :status and (UPPER(i.email) like :value) Now we assume ... the example user. The like statment operates like "test%"  EclispeLink/OpenJPA/HibernateJPA handles the like stament like an exact search '='. This JPA impls returns an empty list. This behaviour

Help with 'not like/lower' query

. This is using Criteria with a combination of LOWER/UPPER - NOT LIKE : SELECT COUNT($1.id) FROM User $1 WHERE ($1.owningCompany=:p1) AND LOWER($1.email) NOT LIKE :p2 So in essence, I'm trying to do a count ... .getFieldName()); Predicate predicate; if(property.getOperator().equals(Operator. LIKE )){ predicate

Help: After upgrading from 2.2.8_02 to 2.2.8_04, can't perform LIKE query

) - my LIKE queries have stopped working during a regression test. As an example output: Query: SELECT $1 FROM Company $1 WHERE ((($1.companyId LIKE :p1) AND ($1.conditionOne=true)) AND ((($1.conditionTwo ... that should fix it. support Support    This release carries out the grouping and likes correctly.   Thanks!   Willks William

Query in Spring Data error Like for Integer records

Hi!, Does anyone know how I can use this type of Query with Like and that does not give an error when you search in an Integer type field? I have been forced to change the "CodigoTienda" record in ... Interesting question. LIKE is a query operator for strings not for numbers, and apparently JPA does not

Like fails if both underscore and percent are used

When using a like query that has both _ and % in it, ObjectDB seems to fail. Here is a unit test to demonstrate:   import org.junit.*; import javax.persistence.*; import javax.persistence ... StringHolder holder WHERE holder.content LIKE :filter"; Query query = em.createQuery(queryString

Softdelete api like hibernate

Softdelete api like hibernate

Can you implement fastest Native JPA for MySQL by ClusterJ like?

Can you implement fastest Native JPA for MySQL by ClusterJ like?

Strings in JPQL and Criteria Queries

. LIKE - string pattern matching with wildcards The [NOT] LIKE operator checks whether a string ... : c.name LIKE '_r%' is TRUE for 'Brazil' and FALSE for 'Denmark' . c.name LIKE '%' is always TRUE (for any c.name value). c.name NOT LIKE '%' is always FALSE (for any c.name value). To match a literal

SELECT clause (JPQL / Criteria API)

non-entities, like the two previous queries, are often more efficient. Such queries are useful mainly ... more than once: SELECT c.currency FROM Country AS c WHERE c.name LIKE 'I%' Both Italy and Ireland ... keyword: SELECT DISTINCT c.currency FROM Country AS c WHERE c.name LIKE 'I%' The only difference between

JPA Query Expressions (JPQL / Criteria)

[OF] String operator : [NOT] LIKE Logical operators : AND , OR , and NOT JPA queries also support predefined ... ) String expressions ( like , length , locate , lower , upper , concat , substring , …) Date and time

jakarta.persistence.criteria.CriteriaBuilder

. Since: Jakarta Persistence (JPA) 1.0 Predicate like ( Expression x , Expression pattern ) Create ... pattern - string expression Returns: like predicate. Since: Jakarta Persistence (JPA) 1.0 Predicate like ( Expression x , String pattern ) Create a predicate for testing whether the expression

JPA Criteria Query Expressions

represent specific SQL- like expressions: An expression that returns the first non-null value from a list

JPA Persistable Types

, an entity class is like any other Java class. It can extend another entity class or a non-entity

FROM clause (JPQL / Criteria API)

, FETCH,FROM, GROUP, HAVING, IN, INDEX, INNER, IS, JOIN, KEY, LEADING, LEFT, LENGTH, LIKE ,LOCATE

JPA Query Structure (JPQL / Criteria)

and easier to use in Java applications. JPQL Query Structure Like SQL, a JPQL SELECT query consists

JPA Criteria Query Date/Time Extraction

Jakarta Persistence criteria queries use the following interfaces and enums to extract temporal components like year, month, or hour from date and time values. TemporalField # Base interface ├─ LocalDateField # Enum for Date fields ├─ LocalTimeField # Enum for Time fields

Privacy Policy

California. If you have any questions regarding this privacy policy or you would like

ObjectDB - JPA Object Database for Java

. More complete solution that will more likely support all future needs. Protect your investment  

Query Parameters in JPA

to check if a specified parameter has a value ( isBound ). These methods are not required to execute queries and are likely used less often.

Eclipse Public License - v 1.0

may accept certain responsibilities with respect to end users, business partners and the like

Running JPA Queries

like any other Java collection. For example, you can iterate over a result collection

Query problem after transaction commit

for all object Goods successfully] 04 SELECT u FROM Goods u where u._code like :code AND u._desc like :desc ... for all Goods D successfully] 14 SELECT u FROM Goods u where u._code like :code AND u._desc like ... . Only Goods D returned] 21 SELECT u FROM Goods u where u._code like :code AND u._desc like :desc 

Dirty checking

: Ideally I'd like to capture all objects that were changed after a commit, i.e: after the transaction ... really like to know after a commit what objects changed in the prior commit. in other words a 'post ... a graph of objects, I'd like to know all the objects that changed and commited, so that I can generate

JPA CriteriaQuery -- Iterate Expression>

objects. I would like to update my query below to include a similar ' like ' pattern match for each ... .class); //pseudo code(i think i need something like this here) Predicate myPred = for all records (any record.FIELD LIKE searchString) Path status = root.get("status"); criteriaQuery.where( builder.or

ObjectDB is opening too many sockets

. I am supposing, that it is because of some mistake, so I would like from you to help me diagnose ... behave like this also for You. For me it's sufficient to just start the server and leave it running ... like sockets. Our app is also using SSL connections and I never saw there unused sockets like

enumeration table? how to on pure jpa?

application configs. Like ; tablename : enumeration table rows: key       ... ? Like this: @Entity @Table(name="enumerations") public class Enumerations { //Field binding possible like below ? @Column(field="servername") private String serverName; @Column(field="username

[ODB1] Chapter 2 - A Quick Tour

objects ( like list in this example) are called persistent objects . An object retrieved from ... On transaction commit (line 37), new persistent objects ( like a new ArrayList that becomes persistent in line 25), and modified persistent objects ( like a retrieved ArrayList , which is modified in line 29

multiple different applications access one odb file

Hi, is it possible to access one odb file from different applications? What we would like ... would like to use our APP but he asks how the data from the DB can be used to fill its DWH ... Web Services within the APP but he would like to do some integration directly) Does anybody

Updating Entities

and have it affect employeeDB - so I'm likely doing it wrong. I'll try to construct a single class file ... may try pursuing that further if absolutely necessary, but I'd like to inquire further on your statement ... and still read those changes? If UPDATE queries don't seem like a valid solution then I'm still likely

jakarta.persistence.criteria.CriteriaBuilder.notLike(Expression,Expression,Expression)

Returns: not- like predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.notLike(Expression,Expression,char)

- string expression pattern - string expression escapeChar - escape character Returns: not- like predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.notLike(Expression,String,Expression)

: x - string expression pattern - string escapeChar - escape character expression Returns: not- like predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.notLike(Expression,String,char)

- string expression pattern - string escapeChar - escape character Returns: not- like predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.notLike(Expression,Expression)

- string expression Returns: not- like predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.notLike(Expression,String)

- string Returns: not- like predicate. Since: Jakarta Persistence (JPA) 1.0

[ODB1] Chapter 6 - Persistent Objects

are embedded and user defined types ( like the Address instance above) are not. This behavior ... of view of the developer, it looks like the entire graph of objects is present in memory for his or ... an argument to a method like makePersistent( ... ) or deletePersistent( ... ) . The PersistenceManager

[ODB1] Chapter 3 - Persistent Classes

. Aside from the requirements described above, a persistent class is like any other Java class ... fields of types like int[] or Object[] ). Any class in which a persistent array is modified ... and for build scripts ( like ANT for example), but in most Java IDEs a plugin is required to integrate

Different behavior for two equal queries

.communication.contact.individual.IndividualContact $1 WHERE (($1.organisation.name LIKE '%Q ... .contact.individual.IndividualContact $1 WHERE (($1.organisation.name LIKE '%Q%') OR ($1.communication.classification.name LIKE '%Q%') OR ($1.postalAddresses.deliveryPoint.deliveryPointLocation.thoroughfare

[ODB1] Chapter 8 - ObjectDB Server

resort. Please note, if you edit the default.xml file, it is likely that your modifications

Update query null error

where a.objectsInCharge.nodePath like "/(PR)W4455NS01%" and a.objectsInCharge.nodePath like "%MARAS%" or Update Action Set transferred = 0 here objectsInCharge.nodePath like "/(PR)W4455NS01%" and objectsInCharge.nodePath like "%MARAS%" both result in: Query Execution Error ===================== null Query

Issue with UPPER ?

that satisfy:   or(and( like ($6.phone,'%81%'),($6.phone!=null),($6!=null)),and( like ($6.fax,'%81%'),($6.fax!=null),($6!=null)),and( like ($3.firstName,'%81%'),($3.firstName!=null),($3!=null)),and( like ($6.email,'%81%'),($6.email!=null),($6!=null)),and( like ($3.lastName,'%81%'),($3.lastName!=null),($3!=null

Best practise loading big data

to commit and open a new transaction). But this does not sound like a nice solution. We tried to detach ... MyStep objects. Every MyStep contains a list of 2 MyValue objects. Then we do something like ... a solution for this serious issue. We would like to know if - we do something wrong and should change

Blocked by find

somewhere in the find. The thread dump looks like : Name: DEV1-WSAgent-1-Existing/3 State: RUNNABLE Total ... .java:662) A dump from one of the blocked threads looks like : Name: DEV1-WSAgent-1-Existing/4 State ... which made it into the wrapper looks like : Name: uatsrtlonw342-WSAgent-1-New/4 State: BLOCKED on com.objectdb.o.LKM